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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 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.001427/0.001427, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 291 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004241/0.004241, allocations: 94.56 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1934, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006817/0.2003, allocations: 4.914 MB / 0.6984 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5379/0.7382, allocations: 150.6 MB / 0.8454 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.7395, allocations: 20.25 kB / 0.8455 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.7402, allocations: 186.8 kB / 0.8456 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.7427, allocations: 0.55 MB / 0.8462 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.7456, allocations: 0.8248 MB / 0.847 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.7476, allocations: 1.362 MB / 0.8483 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.7486, allocations: 0.5778 MB / 0.8489 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.7495, allocations: 483.9 kB / 0.8493 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.7502, allocations: 0.4903 MB / 0.8498 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.7503, allocations: 114.7 kB / 0.8499 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.7513, allocations: 460.5 kB / 0.8504 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.7516, allocations: 291.6 kB / 0.8506 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.7522, allocations: 0.5513 MB / 0.8512 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.7543, allocations: 1.577 MB / 0.8527 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7543, allocations: 0 / 0.8527 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7543, allocations: 4 kB / 0.8527 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.7543, allocations: 0 / 0.8527 GB, free: 2.344 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002793/0.7571, allocations: 1.426 MB / 0.8541 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7572, allocations: 11.22 kB / 0.8541 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.7574, allocations: 134.5 kB / 0.8543 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.7584, allocations: 192.8 kB / 0.8544 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.7596, allocations: 0.741 MB / 0.8552 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.7596, allocations: 65.12 kB / 0.8552 GB, free: 384 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.7597, allocations: 76.12 kB / 0.8553 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.7614, allocations: 0.9071 MB / 0.8562 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.7614, allocations: 2.719 kB / 0.8562 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.7615, allocations: 34.84 kB / 0.8562 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.7615, allocations: 24.38 kB / 0.8562 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.7633, allocations: 1.101 MB / 0.8573 GB, free: 15.2 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.004359/0.7677, allocations: 2.777 MB / 0.86 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.7691, allocations: 0.7906 MB / 0.8608 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.7697, allocations: 294 kB / 0.8611 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.7698, allocations: 35.27 kB / 0.8611 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009334/0.7707, allocations: 483.8 kB / 0.8616 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 6.652e-06/0.7707, allocations: 0 / 0.8616 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003221/0.774, allocations: 1.177 MB / 0.8627 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7741, allocations: 194 kB / 0.8629 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.775, allocations: 0.6326 MB / 0.8635 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.775, allocations: 42.98 kB / 0.8636 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.7754, allocations: 396 kB / 0.8639 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.7757, allocations: 253.3 kB / 0.8642 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.7759, allocations: 142.5 kB / 0.8643 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.7762, allocations: 403.6 kB / 0.8647 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.7767, allocations: 238.7 kB / 0.8649 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.7773, allocations: 358.6 kB / 0.8653 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.7784, allocations: 0.5758 MB / 0.8658 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7784, allocations: 0 / 0.8658 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00201/0.7804, allocations: 0.8007 MB / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7805, allocations: 5.062 kB / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7805, allocations: 1.781 kB / 0.8666 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.7811, allocations: 83.98 kB / 0.8667 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.7817, allocations: 146.4 kB / 0.8668 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.7995, allocations: 1.638 MB / 0.8684 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/0.8006, allocations: 85.52 kB / 0.8685 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.8007, allocations: 32.19 kB / 0.8686 GB, free: 6.93 MB / 0.5919 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.0005192/0.8012, allocations: 265.8 kB / 0.8688 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.8014, allocations: 83.19 kB / 0.8689 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.804, allocations: 1.051 MB / 0.8699 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.804, allocations: 6.812 kB / 0.8699 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.804, allocations: 2.906 kB / 0.8699 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.804, allocations: 7.922 kB / 0.8699 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.8053, allocations: 0.8936 MB / 0.8708 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8053, allocations: 4 kB / 0.8708 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.8059, allocations: 139.8 kB / 0.8709 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.8064, allocations: 68.8 kB / 0.871 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.8065, allocations: 27.97 kB / 0.871 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.8087, allocations: 1.658 MB / 0.8727 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8087, allocations: 4.062 kB / 0.8727 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.811, allocations: 0.916 MB / 0.8736 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.8115, allocations: 275.8 kB / 0.8738 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.8116, allocations: 19.91 kB / 0.8738 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.8122, allocations: 61.91 kB / 0.8739 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.8124, allocations: 72.89 kB / 0.874 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.8125, allocations: 35.83 kB / 0.874 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006455/0.8131, allocations: 463 kB / 0.8744 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8131, allocations: 4 kB / 0.8744 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009667/0.8141, allocations: 307.3 kB / 0.8747 GB, free: 1.121 MB / 0.5919 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.00438/0.8185, allocations: 1.969 MB / 0.8767 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002629/0.8211, allocations: 0.9805 MB / 0.8776 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8212, allocations: 0 / 0.8776 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.8222, allocations: 0.5083 MB / 0.8781 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8236, allocations: 312.2 kB / 0.8784 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.835, allocations: 6.352 MB / 0.8846 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.8358, allocations: 1.019 MB / 0.8856 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009442/0.8368, allocations: 266.6 kB / 0.8859 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.8374, allocations: 387.3 kB / 0.8862 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.8374, allocations: 0 / 0.8862 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0953/0.9327, allocations: 21.27 MB / 0.907 GB, free: 440 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.9, allocations: 8.859 kB / 0.907 GB, free: 436 kB / 0.6231 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)