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.001402/0.001402, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001479/0.001479, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 279.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 178.6 MB / 0.507 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 96.41 kB / 0.606 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1731, allocations: 89.15 MB / 0.6931 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007149/0.1802, allocations: 5.104 MB / 0.6981 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4615/0.6418, allocations: 148.4 MB / 0.843 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.6429, allocations: 19.5 kB / 0.843 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.6439, allocations: 159.3 kB / 0.8432 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.646, allocations: 0.4928 MB / 0.8436 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.6483, allocations: 0.7558 MB / 0.8444 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.6504, allocations: 1.426 MB / 0.8458 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6515, allocations: 0.5912 MB / 0.8463 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.6524, allocations: 496.1 kB / 0.8468 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.6533, allocations: 0.5141 MB / 0.8473 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.6536, allocations: 118.6 kB / 0.8474 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.6546, allocations: 464.1 kB / 0.8479 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.655, allocations: 302.4 kB / 0.8482 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008509/0.6558, allocations: 0.5892 MB / 0.8487 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.6578, allocations: 1.619 MB / 0.8503 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6578, allocations: 0 / 0.8503 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6578, allocations: 0 / 0.8503 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.6578, allocations: 1.75 kB / 0.8503 GB, free: 4.555 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.002536/0.6604, allocations: 1.464 MB / 0.8517 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6604, allocations: 13.91 kB / 0.8518 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6606, allocations: 138 kB / 0.8519 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008607/0.6614, allocations: 190.3 kB / 0.8521 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6625, allocations: 0.7595 MB / 0.8528 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.6626, allocations: 69.25 kB / 0.8529 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6627, allocations: 79.69 kB / 0.853 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6642, allocations: 0.9359 MB / 0.8539 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6643, allocations: 2.094 kB / 0.8539 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.6644, allocations: 39.22 kB / 0.8539 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.6644, allocations: 26.91 kB / 0.8539 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.666, allocations: 1.123 MB / 0.855 GB, free: 1.352 MB / 0.5762 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.003978/0.67, allocations: 2.773 MB / 0.8577 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6714, allocations: 0.8083 MB / 0.8585 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.672, allocations: 304.7 kB / 0.8588 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.6721, allocations: 33.2 kB / 0.8589 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.6729, allocations: 498.8 kB / 0.8593 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.6729, allocations: 0 / 0.8593 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003053/0.676, allocations: 1.209 MB / 0.8605 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.6761, allocations: 196.3 kB / 0.8607 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.6768, allocations: 0.6456 MB / 0.8613 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.6769, allocations: 38.45 kB / 0.8614 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.6772, allocations: 407.8 kB / 0.8618 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.6775, allocations: 275.3 kB / 0.862 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.6777, allocations: 149.6 kB / 0.8622 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6779, allocations: 384.6 kB / 0.8625 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.6784, allocations: 251.4 kB / 0.8628 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.679, allocations: 359.6 kB / 0.8631 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.6801, allocations: 0.5913 MB / 0.8637 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6801, allocations: 2.906 kB / 0.8637 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001804/0.6819, allocations: 0.8123 MB / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6819, allocations: 8.781 kB / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6819, allocations: 0 / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/0.6826, allocations: 90.2 kB / 0.8646 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.6832, allocations: 153.6 kB / 0.8647 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.6854, allocations: 1.636 MB / 0.8663 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.6861, allocations: 96.56 kB / 0.8664 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.6862, allocations: 29.77 kB / 0.8664 GB, free: 9.039 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.0004046/0.6866, allocations: 260.2 kB / 0.8667 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.6867, allocations: 87.42 kB / 0.8668 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.6891, allocations: 1.078 MB / 0.8678 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6891, allocations: 10.06 kB / 0.8678 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6891, allocations: 4 kB / 0.8678 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.6891, allocations: 3.984 kB / 0.8678 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6902, allocations: 0.9125 MB / 0.8687 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6902, allocations: 0 / 0.8687 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.6909, allocations: 155.8 kB / 0.8689 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.6914, allocations: 72.78 kB / 0.869 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.6914, allocations: 27.92 kB / 0.869 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6935, allocations: 1.662 MB / 0.8706 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6935, allocations: 0 / 0.8706 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.6963, allocations: 1.34 MB / 0.8719 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.6967, allocations: 267.8 kB / 0.8722 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6968, allocations: 28.05 kB / 0.8722 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.6975, allocations: 67.88 kB / 0.8723 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6976, allocations: 68.89 kB / 0.8723 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.6977, allocations: 36.64 kB / 0.8724 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000619/0.6983, allocations: 471 kB / 0.8728 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6984, allocations: 4 kB / 0.8728 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008583/0.6992, allocations: 327.1 kB / 0.8731 GB, free: 2.801 MB / 0.5919 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.004868/0.7041, allocations: 2.383 MB / 0.8754 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002465/0.7066, allocations: 1.016 MB / 0.8764 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7066, allocations: 0 / 0.8764 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009855/0.7076, allocations: 0.5239 MB / 0.877 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7088, allocations: 305.3 kB / 0.8772 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.722, allocations: 6.995 MB / 0.8841 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.7228, allocations: 1.027 MB / 0.8851 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008946/0.7237, allocations: 254.8 kB / 0.8853 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.7244, allocations: 407.3 kB / 0.8857 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.7244, allocations: 0 / 0.8857 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.7776, allocations: 21.51 MB / 0.9067 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/0.778, allocations: 301.2 kB / 0.907 GB, free: 356 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.246, allocations: 0 / 0.907 GB, free: 356 kB / 0.6231 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)