Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_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.000838/0.0008381, allocations: 98.81 kB / 16.02 MB, free: 80 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.0009461/0.0009461, allocations: 182.7 kB / 16.92 MB, free: 6.691 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6912/0.6912, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 77.52 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.5219/0.6814, allocations: 161.5 MB / 0.7178 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.6936, allocations: 7.728 MB / 0.7253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.695, allocations: 27.81 kB / 0.7254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.6962, allocations: 325.9 kB / 0.7257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.6998, allocations: 1.189 MB / 0.7268 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.7024, allocations: 1.024 MB / 0.7278 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.7055, allocations: 2.543 MB / 0.7303 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.7072, allocations: 0.9948 MB / 0.7313 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.7083, allocations: 0.6182 MB / 0.7319 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.7098, allocations: 0.6626 MB / 0.7325 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.71, allocations: 40 kB / 0.7326 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.7122, allocations: 1.111 MB / 0.7337 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.7125, allocations: 302.7 kB / 0.7339 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007996/0.7134, allocations: 0.658 MB / 0.7346 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.7161, allocations: 2.285 MB / 0.7368 GB, free: 1.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7161, allocations: 0 / 0.7368 GB, free: 1.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7162, allocations: 0 / 0.7368 GB, free: 1.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.957e-05/0.7162, allocations: 4 kB / 0.7368 GB, free: 1.477 MB / 0.545 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.0032/0.7194, allocations: 1.592 MB / 0.7384 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7195, allocations: 8.031 kB / 0.7384 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002781/0.7198, allocations: 172.9 kB / 0.7385 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.7217, allocations: 345.7 kB / 0.7389 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.7233, allocations: 0.9756 MB / 0.7398 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.7234, allocations: 90.19 kB / 0.7399 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.7235, allocations: 112 kB / 0.74 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.7256, allocations: 1.168 MB / 0.7412 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.7256, allocations: 4 kB / 0.7412 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.7258, allocations: 48 kB / 0.7412 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.7258, allocations: 42.06 kB / 0.7413 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.7281, allocations: 1.319 MB / 0.7425 GB, free: 11.42 MB / 0.5606 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.005557/0.7336, allocations: 3.874 MB / 0.7463 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.7354, allocations: 1.01 MB / 0.7473 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.7361, allocations: 410.2 kB / 0.7477 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.462e-05/0.7362, allocations: 33.02 kB / 0.7477 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009621/0.7371, allocations: 0.5942 MB / 0.7483 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=102): time 2.655e-06/0.7372, allocations: 0 / 0.7483 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.003504/0.7407, allocations: 1.458 MB / 0.7497 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/0.7408, allocations: 192.9 kB / 0.7499 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.7418, allocations: 0.8379 MB / 0.7507 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.7419, allocations: 41.7 kB / 0.7508 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.7423, allocations: 0.5275 MB / 0.7513 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.7425, allocations: 339.1 kB / 0.7516 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.7427, allocations: 77.67 kB / 0.7517 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7428, allocations: 341.9 kB / 0.752 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/0.7434, allocations: 317.8 kB / 0.7523 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.7442, allocations: 479.5 kB / 0.7528 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7455, allocations: 0.7854 MB / 0.7535 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7455, allocations: 4 kB / 0.7536 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00217/0.7477, allocations: 1.036 MB / 0.7546 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7477, allocations: 6.188 kB / 0.7546 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7477, allocations: 4 kB / 0.7546 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.7484, allocations: 92.92 kB / 0.7547 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.7492, allocations: 203.7 kB / 0.7549 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.7512, allocations: 1.525 MB / 0.7563 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7522, allocations: 131.1 kB / 0.7565 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.7523, allocations: 40.17 kB / 0.7565 GB, free: 12.53 MB / 0.5762 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.000475/0.7528, allocations: 322.2 kB / 0.7568 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.753, allocations: 118.6 kB / 0.7569 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.7557, allocations: 1.248 MB / 0.7581 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7557, allocations: 12 kB / 0.7582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7557, allocations: 0 / 0.7582 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.7557, allocations: 7.969 kB / 0.7582 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.7571, allocations: 1.173 MB / 0.7593 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7571, allocations: 4 kB / 0.7593 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.758, allocations: 207.7 kB / 0.7595 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.7585, allocations: 84.72 kB / 0.7596 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.7586, allocations: 35.97 kB / 0.7596 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.7604, allocations: 1.54 MB / 0.7611 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7604, allocations: 4.062 kB / 0.7611 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.7633, allocations: 1.586 MB / 0.7627 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.7638, allocations: 339.2 kB / 0.763 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.7639, allocations: 20 kB / 0.763 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.7648, allocations: 107.8 kB / 0.7631 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.765, allocations: 88.75 kB / 0.7632 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.7651, allocations: 43.97 kB / 0.7633 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00074/0.7658, allocations: 0.5821 MB / 0.7638 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7658, allocations: 0 / 0.7638 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009576/0.7668, allocations: 423 kB / 0.7642 GB, free: 4.355 MB / 0.5762 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.004423/0.7712, allocations: 2.653 MB / 0.7668 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.7731, allocations: 0.9803 MB / 0.7678 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7731, allocations: 0 / 0.7678 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7741, allocations: 0.6057 MB / 0.7684 GB, free: 264 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7762, allocations: 450.4 kB / 0.7688 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7909, allocations: 9.302 MB / 0.7779 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.7916, allocations: 1.161 MB / 0.779 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001139/0.7928, allocations: 321.2 kB / 0.7793 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.7935, allocations: 0.511 MB / 0.7798 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.7935, allocations: 0 / 0.7798 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/0.8454, allocations: 27.9 MB / 0.8071 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.8457, allocations: 276.9 kB / 0.8073 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.539, allocations: 4 kB / 0.8073 GB, free: 8.32 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)