Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002001/0.002001, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 196 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002597, allocations: 294.6 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.235/1.235, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 95.12 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1967, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00701/0.2038, allocations: 5.103 MB / 0.6986 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5127/0.7165, allocations: 150.6 MB / 0.8457 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.7175, allocations: 15.81 kB / 0.8457 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.7183, allocations: 202.8 kB / 0.8459 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.7203, allocations: 0.5572 MB / 0.8464 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.7224, allocations: 0.8383 MB / 0.8472 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002027/0.7244, allocations: 1.409 MB / 0.8486 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7255, allocations: 0.5948 MB / 0.8492 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009154/0.7264, allocations: 0.489 MB / 0.8497 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.7271, allocations: 0.5122 MB / 0.8502 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.7273, allocations: 117.6 kB / 0.8503 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.7286, allocations: 462.8 kB / 0.8507 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.7289, allocations: 303.6 kB / 0.851 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.7296, allocations: 0.5763 MB / 0.8516 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.7319, allocations: 1.627 MB / 0.8532 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.732, allocations: 0 / 0.8532 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.732, allocations: 0 / 0.8532 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.732, allocations: 0 / 0.8532 GB, free: 2.008 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003271/0.7353, allocations: 1.474 MB / 0.8546 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.7353, allocations: 14 kB / 0.8546 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.7355, allocations: 143.4 kB / 0.8548 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.7366, allocations: 185.3 kB / 0.8549 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7377, allocations: 0.7549 MB / 0.8557 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.7378, allocations: 65.14 kB / 0.8557 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.7379, allocations: 87.53 kB / 0.8558 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7395, allocations: 0.9423 MB / 0.8567 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7395, allocations: 0 / 0.8567 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.7396, allocations: 38.31 kB / 0.8568 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.7396, allocations: 20.16 kB / 0.8568 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.7414, allocations: 1.124 MB / 0.8579 GB, free: 14.79 MB / 0.5919 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.00437/0.7458, allocations: 2.772 MB / 0.8606 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.7473, allocations: 0.8044 MB / 0.8614 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.7478, allocations: 310.2 kB / 0.8617 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.7479, allocations: 33.47 kB / 0.8617 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.7488, allocations: 495.3 kB / 0.8622 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.7488, allocations: 4 kB / 0.8622 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003271/0.7521, allocations: 1.204 MB / 0.8634 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.7523, allocations: 198.9 kB / 0.8636 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.7531, allocations: 0.6423 MB / 0.8642 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.7532, allocations: 42.45 kB / 0.8642 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.7536, allocations: 410.8 kB / 0.8646 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.7538, allocations: 268 kB / 0.8649 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.7541, allocations: 150.1 kB / 0.865 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.7543, allocations: 388.3 kB / 0.8654 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.7548, allocations: 255.4 kB / 0.8656 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.7554, allocations: 365.8 kB / 0.866 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7565, allocations: 0.5866 MB / 0.8666 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7565, allocations: 0 / 0.8666 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001871/0.7584, allocations: 0.8133 MB / 0.8673 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7584, allocations: 11.38 kB / 0.8674 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7584, allocations: 0 / 0.8674 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.759, allocations: 79.62 kB / 0.8674 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.7596, allocations: 164.6 kB / 0.8676 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.7619, allocations: 1.622 MB / 0.8692 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.7626, allocations: 85.86 kB / 0.8693 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.7627, allocations: 44 kB / 0.8693 GB, free: 6.484 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0004963/0.7632, allocations: 262.9 kB / 0.8695 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.7634, allocations: 85.66 kB / 0.8696 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.766, allocations: 1.078 MB / 0.8707 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.766, allocations: 15.98 kB / 0.8707 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.766, allocations: 0 / 0.8707 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.766, allocations: 3.984 kB / 0.8707 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.7675, allocations: 0.9111 MB / 0.8716 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.7675, allocations: 0 / 0.8716 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.7682, allocations: 151.8 kB / 0.8717 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.7687, allocations: 72.78 kB / 0.8718 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.7688, allocations: 27.92 kB / 0.8718 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.771, allocations: 1.66 MB / 0.8735 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.771, allocations: 0 / 0.8735 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.774, allocations: 1.34 MB / 0.8748 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.7745, allocations: 271.8 kB / 0.875 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.7746, allocations: 24.12 kB / 0.875 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.7752, allocations: 63.86 kB / 0.8751 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.7754, allocations: 80.83 kB / 0.8752 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.7755, allocations: 27.98 kB / 0.8752 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007048/0.7762, allocations: 479 kB / 0.8757 GB, free: 168 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7762, allocations: 0 / 0.8757 GB, free: 168 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001022/0.7773, allocations: 327.2 kB / 0.876 GB, free: 15.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.005627/0.7829, allocations: 2.383 MB / 0.8783 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002754/0.7857, allocations: 1.019 MB / 0.8793 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7857, allocations: 0 / 0.8793 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.7869, allocations: 0.5083 MB / 0.8798 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7884, allocations: 312.3 kB / 0.8801 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.8005, allocations: 6.601 MB / 0.8865 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.8013, allocations: 1.027 MB / 0.8875 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009337/0.8023, allocations: 262.8 kB / 0.8878 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/0.8029, allocations: 395.3 kB / 0.8882 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of SimCode: time 1.392e-06/0.8029, allocations: 0 / 0.8882 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.8678, allocations: 21.71 MB / 0.9094 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.86, allocations: 11.91 kB / 0.9094 GB, free: 13.95 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)