Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_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.001656/0.001656, allocations: 101.7 kB / 16.4 MB, free: 6.457 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.002522/0.002522, allocations: 196 kB / 17.34 MB, free: 5.719 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 64.53 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.009333/0.1678, allocations: 5.099 MB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.652/0.8199, allocations: 150.6 MB / 0.7836 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.821, allocations: 19.12 kB / 0.7837 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.8219, allocations: 201.4 kB / 0.7838 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.8241, allocations: 0.5619 MB / 0.7844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.8266, allocations: 0.8516 MB / 0.7852 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002265/0.8289, allocations: 1.422 MB / 0.7866 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.8301, allocations: 0.5898 MB / 0.7872 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.8312, allocations: 0.4958 MB / 0.7877 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.8323, allocations: 0.5102 MB / 0.7882 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004984/0.8328, allocations: 120 kB / 0.7883 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.8344, allocations: 487.3 kB / 0.7888 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.835, allocations: 303 kB / 0.789 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.8362, allocations: 0.5774 MB / 0.7896 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.8389, allocations: 1.666 MB / 0.7912 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.839, allocations: 0 / 0.7912 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/0.839, allocations: 0 / 0.7912 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.805e-05/0.839, allocations: 0 / 0.7912 GB, free: 12.89 MB / 0.5919 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.003837/0.8429, allocations: 1.465 MB / 0.7927 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8429, allocations: 7.375 kB / 0.7927 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002628/0.8432, allocations: 141.9 kB / 0.7928 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8443, allocations: 194.1 kB / 0.793 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.8457, allocations: 0.7806 MB / 0.7938 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.8458, allocations: 64.84 kB / 0.7938 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.846, allocations: 91.39 kB / 0.7939 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.8477, allocations: 0.9359 MB / 0.7948 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.8478, allocations: 3.984 kB / 0.7948 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.8478, allocations: 35.34 kB / 0.7949 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.8479, allocations: 20.69 kB / 0.7949 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.8496, allocations: 1.126 MB / 0.796 GB, free: 11.45 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.004176/0.8538, allocations: 2.745 MB / 0.7987 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.8553, allocations: 0.816 MB / 0.7994 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.8558, allocations: 309.9 kB / 0.7997 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.8559, allocations: 31.62 kB / 0.7998 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007854/0.8567, allocations: 497.6 kB / 0.8002 GB, free: 10 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.8567, allocations: 4 kB / 0.8003 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.0031/0.8598, allocations: 1.207 MB / 0.8014 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.8599, allocations: 192.1 kB / 0.8016 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.8607, allocations: 0.6424 MB / 0.8022 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.335e-05/0.8608, allocations: 41.2 kB / 0.8023 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.8611, allocations: 410.9 kB / 0.8027 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.8613, allocations: 269.7 kB / 0.8029 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.8615, allocations: 147 kB / 0.8031 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8617, allocations: 393.9 kB / 0.8034 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.8622, allocations: 247.7 kB / 0.8037 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.8627, allocations: 363.1 kB / 0.804 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.8637, allocations: 0.5924 MB / 0.8046 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8638, allocations: 0 / 0.8046 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001833/0.8656, allocations: 0.8074 MB / 0.8054 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8656, allocations: 9.062 kB / 0.8054 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8656, allocations: 2.75 kB / 0.8054 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007109/0.8664, allocations: 86.23 kB / 0.8055 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.8671, allocations: 165.1 kB / 0.8056 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.8692, allocations: 1.622 MB / 0.8072 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.87, allocations: 91.97 kB / 0.8073 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.8701, allocations: 38.52 kB / 0.8074 GB, free: 6.309 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.0005936/0.8707, allocations: 261.6 kB / 0.8076 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.871, allocations: 83.62 kB / 0.8077 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.8733, allocations: 1.072 MB / 0.8087 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8733, allocations: 14.66 kB / 0.8087 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8733, allocations: 0 / 0.8087 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8733, allocations: 3.984 kB / 0.8087 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.8747, allocations: 0.9125 MB / 0.8096 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8747, allocations: 2.094 kB / 0.8096 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.8753, allocations: 155.6 kB / 0.8098 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.8758, allocations: 70.7 kB / 0.8099 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.8758, allocations: 31.41 kB / 0.8099 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.8778, allocations: 1.661 MB / 0.8115 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8778, allocations: 0 / 0.8115 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.8804, allocations: 1.335 MB / 0.8128 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.8808, allocations: 275.6 kB / 0.8131 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.881, allocations: 19.09 kB / 0.8131 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.8817, allocations: 68.25 kB / 0.8132 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8818, allocations: 73.39 kB / 0.8132 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.8819, allocations: 30.83 kB / 0.8133 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006525/0.8826, allocations: 474.1 kB / 0.8137 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8826, allocations: 0 / 0.8137 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009696/0.8836, allocations: 325.5 kB / 0.814 GB, free: 2.148 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.004272/0.8878, allocations: 2.38 MB / 0.8163 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.8897, allocations: 0.8132 MB / 0.8171 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8897, allocations: 0 / 0.8171 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.8906, allocations: 0.521 MB / 0.8176 GB, free: 4 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.8918, allocations: 305.9 kB / 0.8179 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.9036, allocations: 6.346 MB / 0.8241 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.9045, allocations: 1.029 MB / 0.8251 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000988/0.9055, allocations: 262.7 kB / 0.8254 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.9062, allocations: 404 kB / 0.8258 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of SimCode: time 1.202e-06/0.9062, allocations: 0 / 0.8258 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/0.9773, allocations: 21.9 MB / 0.8472 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.88, allocations: 7.922 kB / 0.8472 GB, free: 6.117 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)