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.001623/0.001623, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001981/0.001981, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 286.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002868, allocations: 104.2 kB / 0.606 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1608, allocations: 89.14 MB / 0.6931 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008024/0.1689, allocations: 5.217 MB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4416/0.6105, allocations: 148.4 MB / 0.8431 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.6113, allocations: 14.94 kB / 0.8431 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.6118, allocations: 166.3 kB / 0.8433 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.6133, allocations: 0.4926 MB / 0.8438 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.6151, allocations: 0.7539 MB / 0.8445 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.6165, allocations: 1.443 MB / 0.8459 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.6173, allocations: 0.6045 MB / 0.8465 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.6179, allocations: 0.5013 MB / 0.847 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.6184, allocations: 0.5329 MB / 0.8475 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.6186, allocations: 120.2 kB / 0.8476 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.6192, allocations: 465.9 kB / 0.8481 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.6195, allocations: 307.4 kB / 0.8484 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.62, allocations: 0.5918 MB / 0.8489 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.6216, allocations: 1.646 MB / 0.8506 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6216, allocations: 2.75 kB / 0.8506 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6216, allocations: 0 / 0.8506 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.6217, allocations: 0 / 0.8506 GB, free: 4.363 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.002509/0.6242, allocations: 1.497 MB / 0.852 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6242, allocations: 10.09 kB / 0.852 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.6244, allocations: 144.2 kB / 0.8522 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/0.6253, allocations: 189.5 kB / 0.8523 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6263, allocations: 0.7685 MB / 0.8531 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.6264, allocations: 68.25 kB / 0.8532 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6265, allocations: 83.03 kB / 0.8532 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.628, allocations: 0.9534 MB / 0.8542 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.628, allocations: 0 / 0.8542 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.6281, allocations: 38.09 kB / 0.8542 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6282, allocations: 22.72 kB / 0.8542 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.6298, allocations: 1.135 MB / 0.8553 GB, free: 1.117 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.003983/0.6338, allocations: 2.83 MB / 0.8581 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.6353, allocations: 0.8385 MB / 0.8589 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.6359, allocations: 323.2 kB / 0.8592 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.6359, allocations: 35.48 kB / 0.8593 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008592/0.6368, allocations: 0.5085 MB / 0.8598 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.575e-06/0.6368, allocations: 0 / 0.8598 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003045/0.6399, allocations: 1.245 MB / 0.861 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.64, allocations: 194.6 kB / 0.8612 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.6407, allocations: 0.6537 MB / 0.8618 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.6408, allocations: 40.45 kB / 0.8618 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.6411, allocations: 410.6 kB / 0.8622 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.6414, allocations: 283.1 kB / 0.8625 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.6416, allocations: 147.4 kB / 0.8626 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.6418, allocations: 392.2 kB / 0.863 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.6423, allocations: 254.5 kB / 0.8633 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.6429, allocations: 371.2 kB / 0.8636 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.644, allocations: 0.6132 MB / 0.8642 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.644, allocations: 0 / 0.8642 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00191/0.6459, allocations: 0.8382 MB / 0.865 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6459, allocations: 7.5 kB / 0.865 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6459, allocations: 0 / 0.865 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.6465, allocations: 79.58 kB / 0.8651 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.6472, allocations: 170.7 kB / 0.8653 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.6494, allocations: 1.631 MB / 0.8669 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.6501, allocations: 96.73 kB / 0.867 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.6502, allocations: 30.3 kB / 0.867 GB, free: 8.668 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.0003786/0.6506, allocations: 281.2 kB / 0.8673 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.6507, allocations: 86.53 kB / 0.8673 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.6531, allocations: 1.096 MB / 0.8684 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6531, allocations: 11.88 kB / 0.8684 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6531, allocations: 3.984 kB / 0.8684 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6531, allocations: 3.984 kB / 0.8684 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6543, allocations: 0.9344 MB / 0.8693 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6543, allocations: 0 / 0.8693 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.655, allocations: 155.8 kB / 0.8695 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.6554, allocations: 76.73 kB / 0.8696 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.6555, allocations: 27.97 kB / 0.8696 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.6575, allocations: 1.655 MB / 0.8712 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6575, allocations: 0 / 0.8712 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.6603, allocations: 1.375 MB / 0.8725 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.6607, allocations: 271.7 kB / 0.8728 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.6608, allocations: 31.88 kB / 0.8728 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.6614, allocations: 63.92 kB / 0.8729 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.6616, allocations: 80.95 kB / 0.873 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/0.6617, allocations: 27.98 kB / 0.873 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005862/0.6622, allocations: 479 kB / 0.8735 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6623, allocations: 0 / 0.8735 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008555/0.6631, allocations: 323.3 kB / 0.8738 GB, free: 2.086 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 (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.004844/0.668, allocations: 2.427 MB / 0.8761 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.6704, allocations: 1.031 MB / 0.8771 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6704, allocations: 4 kB / 0.8771 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.6714, allocations: 0.5314 MB / 0.8777 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6727, allocations: 316.9 kB / 0.878 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6851, allocations: 7.166 MB / 0.885 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.6858, allocations: 1.047 MB / 0.886 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00089/0.6867, allocations: 262.8 kB / 0.8862 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.6873, allocations: 411.3 kB / 0.8866 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6873, allocations: 0 / 0.8866 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05458/0.7419, allocations: 21.84 MB / 0.908 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003856/0.7423, allocations: 295.8 kB / 0.9082 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.162, allocations: 0 / 0.9082 GB, free: 15.01 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)