Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001391/0.001391, 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.001402/0.001402, allocations: 192.4 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 282.8 kB / 290.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 104.7 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1812, allocations: 89.15 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008513/0.1898, allocations: 5.208 MB / 0.6987 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5833/0.7732, allocations: 150.6 MB / 0.8458 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.7742, allocations: 19.69 kB / 0.8458 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.7752, allocations: 195.7 kB / 0.846 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.7776, allocations: 0.5724 MB / 0.8466 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.7798, allocations: 0.8437 MB / 0.8474 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.7823, allocations: 1.433 MB / 0.8488 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.7838, allocations: 0.6146 MB / 0.8494 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.785, allocations: 0.4939 MB / 0.8499 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.7862, allocations: 0.525 MB / 0.8504 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.7865, allocations: 123.7 kB / 0.8505 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.7878, allocations: 463.6 kB / 0.8509 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.7882, allocations: 308.6 kB / 0.8512 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.789, allocations: 0.5876 MB / 0.8518 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.7914, allocations: 1.65 MB / 0.8534 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.7914, allocations: 0 / 0.8534 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7914, allocations: 7.875 kB / 0.8534 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.081e-05/0.7915, allocations: 1.688 kB / 0.8534 GB, free: 1.832 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003173/0.7947, allocations: 1.487 MB / 0.8549 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.7947, allocations: 10.12 kB / 0.8549 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.7949, allocations: 146.1 kB / 0.855 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.7958, allocations: 188.9 kB / 0.8552 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.797, allocations: 0.7685 MB / 0.856 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.7971, allocations: 65.25 kB / 0.856 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.7972, allocations: 85.69 kB / 0.8561 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.7988, allocations: 0.9552 MB / 0.857 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.7989, allocations: 4 kB / 0.857 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.799, allocations: 42.28 kB / 0.8571 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.799, allocations: 22.44 kB / 0.8571 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.8009, allocations: 1.136 MB / 0.8582 GB, free: 14.58 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.004629/0.8055, allocations: 2.819 MB / 0.861 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.8072, allocations: 0.8486 MB / 0.8618 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.8078, allocations: 327.9 kB / 0.8621 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.514e-05/0.8079, allocations: 27.81 kB / 0.8621 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.8091, allocations: 0.5087 MB / 0.8626 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.945e-06/0.8091, allocations: 1.781 kB / 0.8626 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003528/0.8126, allocations: 1.25 MB / 0.8639 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.8128, allocations: 191.1 kB / 0.864 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009527/0.8137, allocations: 0.6492 MB / 0.8647 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.8138, allocations: 42.17 kB / 0.8647 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.8143, allocations: 417.7 kB / 0.8651 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.8146, allocations: 279.2 kB / 0.8654 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.8148, allocations: 153.1 kB / 0.8655 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.8151, allocations: 386.9 kB / 0.8659 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.8156, allocations: 262.3 kB / 0.8661 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.8162, allocations: 368.1 kB / 0.8665 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.8173, allocations: 0.6059 MB / 0.8671 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8173, allocations: 0 / 0.8671 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001984/0.8193, allocations: 0.8362 MB / 0.8679 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8194, allocations: 5.156 kB / 0.8679 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8194, allocations: 2.75 kB / 0.8679 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.82, allocations: 82.67 kB / 0.868 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.8207, allocations: 159.5 kB / 0.8681 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.823, allocations: 1.638 MB / 0.8697 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.8238, allocations: 95.55 kB / 0.8698 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.8238, allocations: 33.98 kB / 0.8699 GB, free: 6.137 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 (92): * Single equations (assignments): 91 * 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.0005023/0.8244, allocations: 265.2 kB / 0.8701 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.8245, allocations: 87.31 kB / 0.8702 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.8271, allocations: 1.106 MB / 0.8713 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8271, allocations: 8.047 kB / 0.8713 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8271, allocations: 3.984 kB / 0.8713 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.8271, allocations: 3.984 kB / 0.8713 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.8284, allocations: 0.9305 MB / 0.8722 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8284, allocations: 4 kB / 0.8722 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.8291, allocations: 159.8 kB / 0.8724 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.8296, allocations: 76.72 kB / 0.8724 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.8297, allocations: 23.98 kB / 0.8725 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.8317, allocations: 1.654 MB / 0.8741 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8318, allocations: 0 / 0.8741 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.8346, allocations: 1.367 MB / 0.8754 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.8351, allocations: 287.7 kB / 0.8757 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.8353, allocations: 19.94 kB / 0.8757 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.8359, allocations: 66.67 kB / 0.8758 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.8361, allocations: 72.89 kB / 0.8758 GB, free: 36 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.8362, allocations: 31.98 kB / 0.8759 GB, free: 4 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007023/0.8369, allocations: 475 kB / 0.8763 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8369, allocations: 4 kB / 0.8763 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001014/0.8379, allocations: 339.1 kB / 0.8766 GB, free: 15.21 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 (96): * Single equations (assignments): 90 * 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.005157/0.8431, allocations: 2.416 MB / 0.879 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.8458, allocations: 1.031 MB / 0.88 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8458, allocations: 0 / 0.88 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.8468, allocations: 0.5433 MB / 0.8805 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.8482, allocations: 302.9 kB / 0.8808 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.8596, allocations: 6.769 MB / 0.8874 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.8603, allocations: 1.039 MB / 0.8885 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008754/0.8612, allocations: 259 kB / 0.8887 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.8618, allocations: 403.3 kB / 0.8891 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.8618, allocations: 7.938 kB / 0.8891 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.9226, allocations: 22.05 MB / 0.9106 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.21, allocations: 2.391 kB / 0.9106 GB, free: 12.71 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)