Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004824/0.004824, allocations: 101.6 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 190.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002551/0.002551, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 102.8 kB / 0.6943 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5102, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007703/0.5179, allocations: 4.915 MB / 0.7861 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.7044, allocations: 150.6 MB / 0.9332 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.7056, allocations: 15.94 kB / 0.9332 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.7064, allocations: 198.2 kB / 0.9334 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.7084, allocations: 0.5391 MB / 0.9339 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.7106, allocations: 0.8293 MB / 0.9347 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.7123, allocations: 1.377 MB / 0.9361 GB, free: 272 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.7132, allocations: 0.5749 MB / 0.9366 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.7139, allocations: 486.3 kB / 0.9371 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.7146, allocations: 0.494 MB / 0.9376 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.7147, allocations: 112 kB / 0.9377 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.7158, allocations: 487.5 kB / 0.9381 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.7161, allocations: 287 kB / 0.9384 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006552/0.7168, allocations: 0.5558 MB / 0.939 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.7193, allocations: 1.619 MB / 0.9405 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7193, allocations: 8 kB / 0.9405 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7193, allocations: 0 / 0.9405 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.7193, allocations: 0 / 0.9405 GB, free: 11.64 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00266/0.722, allocations: 1.463 MB / 0.942 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.722, allocations: 12.03 kB / 0.942 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.7222, allocations: 131.3 kB / 0.9421 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.7231, allocations: 188.1 kB / 0.9423 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7243, allocations: 0.7784 MB / 0.943 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.7244, allocations: 66 kB / 0.9431 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7245, allocations: 79.94 kB / 0.9432 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7262, allocations: 0.9114 MB / 0.9441 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.7262, allocations: 3.938 kB / 0.9441 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.7263, allocations: 39.98 kB / 0.9441 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.7263, allocations: 20 kB / 0.9441 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.7282, allocations: 1.097 MB / 0.9452 GB, free: 6.715 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.7326, allocations: 2.752 MB / 0.9479 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.7342, allocations: 0.7854 MB / 0.9487 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.7347, allocations: 290.7 kB / 0.9489 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.7348, allocations: 36.59 kB / 0.949 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008969/0.7357, allocations: 483.8 kB / 0.9494 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.7357, allocations: 4 kB / 0.9494 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.003551/0.7393, allocations: 1.179 MB / 0.9506 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.7395, allocations: 192.5 kB / 0.9508 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.7407, allocations: 0.641 MB / 0.9514 GB, free: 144 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.7408, allocations: 37.7 kB / 0.9514 GB, free: 100 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.7412, allocations: 405.1 kB / 0.9518 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.7415, allocations: 261.7 kB / 0.9521 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.7418, allocations: 146.6 kB / 0.9522 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.742, allocations: 390.7 kB / 0.9526 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.7425, allocations: 241.9 kB / 0.9528 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.7432, allocations: 359.4 kB / 0.9532 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.7443, allocations: 0.5768 MB / 0.9537 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7444, allocations: 0 / 0.9537 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002185/0.7466, allocations: 0.8023 MB / 0.9545 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.7466, allocations: 4.125 kB / 0.9545 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7466, allocations: 8 kB / 0.9545 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.7472, allocations: 80.7 kB / 0.9546 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.7479, allocations: 155.7 kB / 0.9547 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.7502, allocations: 1.623 MB / 0.9563 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.7509, allocations: 97.31 kB / 0.9564 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.751, allocations: 27.98 kB / 0.9564 GB, free: 10.74 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.7515, allocations: 257.6 kB / 0.9567 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.7517, allocations: 91.48 kB / 0.9568 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.7542, allocations: 1.05 MB / 0.9578 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.7542, allocations: 8.047 kB / 0.9578 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7542, allocations: 11.86 kB / 0.9578 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7542, allocations: 7.984 kB / 0.9578 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.7555, allocations: 0.8958 MB / 0.9587 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.7555, allocations: 0 / 0.9587 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.756, allocations: 143.8 kB / 0.9588 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.7565, allocations: 68.8 kB / 0.9589 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.7566, allocations: 27.97 kB / 0.9589 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.7587, allocations: 1.658 MB / 0.9606 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7587, allocations: 0 / 0.9606 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.7609, allocations: 0.9166 MB / 0.9615 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.7614, allocations: 272.2 kB / 0.9617 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.7615, allocations: 20 kB / 0.9617 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.7621, allocations: 66.05 kB / 0.9618 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.7623, allocations: 72.83 kB / 0.9619 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.7624, allocations: 35.98 kB / 0.9619 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006487/0.763, allocations: 459 kB / 0.9623 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7631, allocations: 0 / 0.9623 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008675/0.7639, allocations: 323.1 kB / 0.9626 GB, free: 4.137 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004299/0.7682, allocations: 1.966 MB / 0.9646 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.7701, allocations: 0.7923 MB / 0.9653 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7701, allocations: 0 / 0.9653 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.7711, allocations: 0.5119 MB / 0.9658 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.7726, allocations: 309.6 kB / 0.9661 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7834, allocations: 6.172 MB / 0.9722 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.7842, allocations: 1.012 MB / 0.9731 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009606/0.7852, allocations: 262.7 kB / 0.9734 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.7858, allocations: 399.2 kB / 0.9738 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7858, allocations: 4 kB / 0.9738 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/0.8494, allocations: 21.48 MB / 0.9948 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.68, allocations: 9.844 kB / 0.9948 GB, free: 3.562 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)