Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001667/0.001667, 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.001707/0.001707, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002611/0.002611, allocations: 287 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 93.78 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2117, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.5573/0.769, allocations: 166 MB / 0.8557 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.782, allocations: 7.804 MB / 0.8633 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.7836, allocations: 34.22 kB / 0.8634 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.7851, allocations: 406.5 kB / 0.8638 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.7894, allocations: 1.309 MB / 0.865 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.7928, allocations: 1.165 MB / 0.8662 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.7967, allocations: 2.35 MB / 0.8685 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.7993, allocations: 1.182 MB / 0.8696 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.801, allocations: 0.8167 MB / 0.8704 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.803, allocations: 0.79 MB / 0.8712 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.8035, allocations: 150.4 kB / 0.8713 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.8061, allocations: 1.1 MB / 0.8724 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006575/0.8068, allocations: 436.5 kB / 0.8728 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.8082, allocations: 0.7752 MB / 0.8736 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.8123, allocations: 2.358 MB / 0.8759 GB, free: 72 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8123, allocations: 5.75 kB / 0.8759 GB, free: 68 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8123, allocations: 7.938 kB / 0.8759 GB, free: 60 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.271e-05/0.8124, allocations: 0 / 0.8759 GB, free: 60 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.005414/0.8178, allocations: 1.88 MB / 0.8777 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8179, allocations: 10.19 kB / 0.8778 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004424/0.8183, allocations: 170.9 kB / 0.8779 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.8206, allocations: 329.1 kB / 0.8782 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.8229, allocations: 0.9815 MB / 0.8792 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.823, allocations: 86.19 kB / 0.8793 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.8233, allocations: 108 kB / 0.8794 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.8261, allocations: 1.164 MB / 0.8805 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.8261, allocations: 8 kB / 0.8805 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.8263, allocations: 40 kB / 0.8806 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.8263, allocations: 42.06 kB / 0.8806 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.829, allocations: 1.319 MB / 0.8819 GB, free: 10.55 MB / 0.6075 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.007797/0.8368, allocations: 3.846 MB / 0.8856 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.839, allocations: 0.9852 MB / 0.8866 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.8398, allocations: 403.7 kB / 0.887 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.8399, allocations: 33.03 kB / 0.887 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.8413, allocations: 0.5943 MB / 0.8876 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 3.948e-06/0.8413, allocations: 0 / 0.8876 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.004486/0.8458, allocations: 1.435 MB / 0.889 GB, free: 3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.846, allocations: 200.9 kB / 0.8892 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.8479, allocations: 0.834 MB / 0.89 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.8481, allocations: 53.7 kB / 0.8901 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.8488, allocations: 0.5275 MB / 0.8906 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.8493, allocations: 331.1 kB / 0.8909 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.8496, allocations: 182.5 kB / 0.8911 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8498, allocations: 345.9 kB / 0.8914 GB, free: 464 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007387/0.8505, allocations: 309.8 kB / 0.8917 GB, free: 152 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009434/0.8515, allocations: 475.7 kB / 0.8921 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.8531, allocations: 0.7815 MB / 0.8929 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8531, allocations: 0 / 0.8929 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002788/0.8559, allocations: 1.024 MB / 0.8939 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.856, allocations: 4 kB / 0.8939 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.856, allocations: 5.562 kB / 0.8939 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.8566, allocations: 84.98 kB / 0.894 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.8575, allocations: 211.7 kB / 0.8942 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.86, allocations: 1.637 MB / 0.8958 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.8612, allocations: 103.1 kB / 0.8959 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.8613, allocations: 43.97 kB / 0.8959 GB, free: 11.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.000745/0.8621, allocations: 314.5 kB / 0.8962 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.8625, allocations: 118.6 kB / 0.8964 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.8659, allocations: 1.248 MB / 0.8976 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.8659, allocations: 16 kB / 0.8976 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8659, allocations: 0 / 0.8976 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.8659, allocations: 3.984 kB / 0.8976 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.8682, allocations: 1.173 MB / 0.8987 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.8682, allocations: 0 / 0.8987 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.8691, allocations: 211.7 kB / 0.8989 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/0.8696, allocations: 72.78 kB / 0.899 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8697, allocations: 35.97 kB / 0.899 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.8723, allocations: 1.662 MB / 0.9007 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.8723, allocations: 3.938 kB / 0.9007 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.876, allocations: 1.562 MB / 0.9022 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.8768, allocations: 339.2 kB / 0.9025 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.8771, allocations: 20 kB / 0.9025 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8782, allocations: 73.8 kB / 0.9026 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8784, allocations: 76.89 kB / 0.9027 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.8785, allocations: 43.97 kB / 0.9027 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00117/0.8797, allocations: 0.5821 MB / 0.9033 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8797, allocations: 4 kB / 0.9033 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001512/0.8812, allocations: 430.9 kB / 0.9037 GB, free: 3.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005939/0.8872, allocations: 2.642 MB / 0.9063 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003277/0.8905, allocations: 1.239 MB / 0.9075 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8905, allocations: 0 / 0.9075 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.8917, allocations: 0.5978 MB / 0.9081 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.8941, allocations: 494.9 kB / 0.9086 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.9106, allocations: 8.664 MB / 0.917 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.9117, allocations: 1.157 MB / 0.9181 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001355/0.9131, allocations: 337 kB / 0.9185 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/0.914, allocations: 0.511 MB / 0.919 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of SimCode: time 3.026e-06/0.914, allocations: 4 kB / 0.919 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08484/0.9989, allocations: 29.33 MB / 0.9476 GB, free: 6.613 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.32, allocations: 5.438 kB / 0.9476 GB, free: 6.613 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)