Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 76.45 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 177.2 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9331/0.9331, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.596/0.596, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.5542 GB, free: 1.73 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.855e-05, allocations: 4.359 kB / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006735/0.006764, allocations: 4.731 MB / 0.5588 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4998/0.5066, allocations: 132.8 MB / 0.6885 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5076, allocations: 23.78 kB / 0.6885 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.5083, allocations: 210.6 kB / 0.6887 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.5107, allocations: 0.6028 MB / 0.6893 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.513, allocations: 0.8851 MB / 0.6901 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.5156, allocations: 1.539 MB / 0.6916 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/0.5165, allocations: 417.6 kB / 0.692 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.5179, allocations: 0.7797 MB / 0.6928 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007336/0.5186, allocations: 427.5 kB / 0.6932 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.5189, allocations: 130.1 kB / 0.6933 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.5202, allocations: 0.4986 MB / 0.6938 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.5206, allocations: 328.6 kB / 0.6941 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.5213, allocations: 422.8 kB / 0.6945 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.5245, allocations: 1.871 MB / 0.6964 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.5245, allocations: 0 / 0.6964 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5245, allocations: 0 / 0.6964 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.866e-05/0.5246, allocations: 1.156 kB / 0.6964 GB, free: 5.938 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003849/0.5284, allocations: 1.491 MB / 0.6978 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.5285, allocations: 9.719 kB / 0.6978 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.5287, allocations: 142.3 kB / 0.698 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5298, allocations: 247.2 kB / 0.6982 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.5314, allocations: 0.746 MB / 0.6989 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.5315, allocations: 74.06 kB / 0.699 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5316, allocations: 99.16 kB / 0.6991 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5332, allocations: 1.223 MB / 0.7003 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.5332, allocations: 0 / 0.7003 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.5333, allocations: 41.78 kB / 0.7003 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.5333, allocations: 21.47 kB / 0.7004 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5346, allocations: 1.092 MB / 0.7014 GB, free: 3.301 MB / 0.5573 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.003231/0.5379, allocations: 2.45 MB / 0.7038 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.5389, allocations: 0.8465 MB / 0.7046 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.5393, allocations: 319.7 kB / 0.7049 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.5393, allocations: 27.8 kB / 0.705 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006341/0.54, allocations: 0.6214 MB / 0.7056 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=93): time 3.737e-06/0.54, allocations: 0 / 0.7056 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93): time 0.002048/0.542, allocations: 1.22 MB / 0.7068 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.5421, allocations: 202.4 kB / 0.707 GB, free: 464 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.5428, allocations: 0.6768 MB / 0.7076 GB, free: 156 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.5429, allocations: 54.14 kB / 0.7077 GB, free: 104 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.5432, allocations: 428.4 kB / 0.7081 GB, free: 15.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000541/0.5437, allocations: 310.6 kB / 0.7084 GB, free: 15.53 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.5439, allocations: 167.8 kB / 0.7085 GB, free: 15.46 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5441, allocations: 406.8 kB / 0.7089 GB, free: 15.07 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.5445, allocations: 278.3 kB / 0.7092 GB, free: 14.94 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.545, allocations: 0.5165 MB / 0.7097 GB, free: 14.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008192/0.5458, allocations: 0.6514 MB / 0.7103 GB, free: 14.19 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5458, allocations: 1 kB / 0.7103 GB, free: 14.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001524/0.5474, allocations: 0.9081 MB / 0.7112 GB, free: 13.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5474, allocations: 6.25 kB / 0.7112 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5474, allocations: 0 / 0.7112 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.5478, allocations: 85.89 kB / 0.7113 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.5482, allocations: 179.5 kB / 0.7115 GB, free: 13.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.55, allocations: 1.518 MB / 0.713 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.5508, allocations: 102.5 kB / 0.7131 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.5509, allocations: 36.39 kB / 0.7131 GB, free: 12.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0006013/0.5515, allocations: 282.6 kB / 0.7134 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.5517, allocations: 93.95 kB / 0.7135 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.5534, allocations: 1.124 MB / 0.7146 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5534, allocations: 10.66 kB / 0.7146 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5534, allocations: 0 / 0.7146 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.5534, allocations: 7.922 kB / 0.7146 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.5563, allocations: 2.07 MB / 0.7166 GB, free: 9.898 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5564, allocations: 4 kB / 0.7166 GB, free: 9.895 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.5567, allocations: 162.2 kB / 0.7167 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.557, allocations: 70.34 kB / 0.7168 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.557, allocations: 30.5 kB / 0.7168 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.5584, allocations: 1.549 MB / 0.7184 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5584, allocations: 0 / 0.7184 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.5609, allocations: 1.488 MB / 0.7198 GB, free: 7.504 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.5614, allocations: 210 kB / 0.72 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5615, allocations: 25.2 kB / 0.72 GB, free: 7.328 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.5619, allocations: 60.72 kB / 0.7201 GB, free: 7.301 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5621, allocations: 82.03 kB / 0.7202 GB, free: 7.246 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.5621, allocations: 35.77 kB / 0.7202 GB, free: 7.234 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005324/0.5626, allocations: 494 kB / 0.7207 GB, free: 6.957 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5626, allocations: 0 / 0.7207 GB, free: 6.957 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001062/0.5637, allocations: 341.2 kB / 0.721 GB, free: 6.859 MB / 0.573 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003492/0.5672, allocations: 2.597 MB / 0.7235 GB, free: 5.352 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5687, allocations: 0.8367 MB / 0.7244 GB, free: 4.918 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5687, allocations: 0 / 0.7244 GB, free: 4.918 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.5694, allocations: 0.5209 MB / 0.7249 GB, free: 4.621 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5706, allocations: 303.9 kB / 0.7252 GB, free: 4.477 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.581, allocations: 6.927 MB / 0.7319 GB, free: 264 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.5814, allocations: 463.5 kB / 0.7324 GB, free: 4 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008343/0.5822, allocations: 276.2 kB / 0.7326 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.5827, allocations: 420.8 kB / 0.733 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of SimCode: time 2.073e-06/0.5827, allocations: 0 / 0.733 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.6382, allocations: 24.95 MB / 0.7574 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.19/9.829, allocations: 6.625 kB / 0.7574 GB, free: 10.85 MB / 0.6042 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.564739712513983] Failed to read output from testmodel.py, exit status != 0: 9.98179541155696 9.994010738 9.467272425 Calling exit ...