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.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.001692/0.001692, allocations: 114.8 kB / 17.84 MB, free: 5.223 MB / 14.72 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.002118/0.002118, allocations: 198.3 kB / 20.79 MB, free: 2.285 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 1.027/1.027, allocations: 150 MB / 460.2 MB, free: 5.195 MB / 350.1 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.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 66.67 kB / 0.6368 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1832, allocations: 89.13 MB / 0.7239 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6558/0.839, allocations: 169.5 MB / 0.8894 GB, free: 2.316 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.8509, allocations: 7.939 MB / 0.8971 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.8527, allocations: 44.62 kB / 0.8972 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.8539, allocations: 417.6 kB / 0.8976 GB, free: 2.055 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.8587, allocations: 1.371 MB / 0.8989 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.8619, allocations: 1.197 MB / 0.9001 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003604/0.8655, allocations: 2.379 MB / 0.9024 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.8671, allocations: 0.9811 MB / 0.9033 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.8686, allocations: 0.8951 MB / 0.9042 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.8706, allocations: 0.82 MB / 0.905 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.871, allocations: 153.3 kB / 0.9052 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.8739, allocations: 1.196 MB / 0.9063 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.8744, allocations: 439.6 kB / 0.9068 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009962/0.8754, allocations: 0.7946 MB / 0.9075 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.8794, allocations: 2.468 MB / 0.9099 GB, free: 1.375 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8794, allocations: 0 / 0.9099 GB, free: 1.375 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8794, allocations: 2.406 kB / 0.9099 GB, free: 1.375 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.8795, allocations: 0 / 0.9099 GB, free: 1.375 MB / 0.67 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.003594/0.8831, allocations: 1.955 MB / 0.9119 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8831, allocations: 10.81 kB / 0.9119 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.27e-05/0.8832, allocations: 27.86 kB / 0.9119 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.8833, allocations: 175.7 kB / 0.9121 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.886, allocations: 371.1 kB / 0.9124 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.8885, allocations: 1.048 MB / 0.9134 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.8886, allocations: 84.33 kB / 0.9135 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.8888, allocations: 105.3 kB / 0.9136 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.891, allocations: 1.169 MB / 0.9148 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.891, allocations: 8.781 kB / 0.9148 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.8911, allocations: 52.5 kB / 0.9148 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.8911, allocations: 42.19 kB / 0.9149 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.8931, allocations: 1.304 MB / 0.9161 GB, free: 15.59 MB / 0.6856 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.008534/0.9017, allocations: 3.907 MB / 0.9199 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.9033, allocations: 0.9461 MB / 0.9209 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.904, allocations: 365.3 kB / 0.9212 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.9041, allocations: 39.73 kB / 0.9213 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.9052, allocations: 0.5958 MB / 0.9218 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=102): time 2.264e-06/0.9052, allocations: 0 / 0.9218 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.003942/0.9091, allocations: 1.445 MB / 0.9233 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.9093, allocations: 194.7 kB / 0.9234 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.9105, allocations: 0.8554 MB / 0.9243 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.9106, allocations: 48.02 kB / 0.9243 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/0.9112, allocations: 0.5384 MB / 0.9248 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.9115, allocations: 355.2 kB / 0.9252 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.9118, allocations: 184.3 kB / 0.9254 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.912, allocations: 346.1 kB / 0.9257 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.9125, allocations: 314.1 kB / 0.926 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.9133, allocations: 481 kB / 0.9264 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.9148, allocations: 0.7719 MB / 0.9272 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9148, allocations: 0 / 0.9272 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002476/0.9172, allocations: 1.038 MB / 0.9282 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9173, allocations: 5.531 kB / 0.9282 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9173, allocations: 2.688 kB / 0.9282 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.9179, allocations: 81.8 kB / 0.9283 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/0.9187, allocations: 206.7 kB / 0.9285 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.9213, allocations: 1.644 MB / 0.9301 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.9225, allocations: 104.8 kB / 0.9302 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.9226, allocations: 39.83 kB / 0.9302 GB, free: 9.633 MB / 0.6856 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.0006804/0.9233, allocations: 325.6 kB / 0.9306 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.9236, allocations: 128.3 kB / 0.9307 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.9265, allocations: 1.246 MB / 0.9319 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.9265, allocations: 10.12 kB / 0.9319 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9265, allocations: 0 / 0.9319 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.9265, allocations: 5.766 kB / 0.9319 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.9283, allocations: 1.18 MB / 0.9331 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9283, allocations: 3.938 kB / 0.9331 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.9292, allocations: 209.5 kB / 0.9333 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.9296, allocations: 79.25 kB / 0.9333 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.9297, allocations: 30.27 kB / 0.9334 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.9322, allocations: 1.663 MB / 0.935 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9322, allocations: 0 / 0.935 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.9355, allocations: 1.586 MB / 0.9365 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.9363, allocations: 326.4 kB / 0.9368 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.9365, allocations: 21.09 kB / 0.9369 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.9374, allocations: 75.11 kB / 0.9369 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.9375, allocations: 82.69 kB / 0.937 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.9376, allocations: 40.45 kB / 0.9371 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008926/0.9385, allocations: 0.603 MB / 0.9376 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9385, allocations: 0 / 0.9376 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001107/0.9396, allocations: 427.7 kB / 0.9381 GB, free: 5.016 MB / 0.6856 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.007059/0.9467, allocations: 2.672 MB / 0.9407 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002937/0.9496, allocations: 0.9259 MB / 0.9416 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9496, allocations: 0 / 0.9416 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.9509, allocations: 0.5685 MB / 0.9421 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/0.9547, allocations: 495.8 kB / 0.9426 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/0.9807, allocations: 8.334 MB / 0.9507 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.9821, allocations: 1.161 MB / 0.9519 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001947/0.9841, allocations: 327.1 kB / 0.9522 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.9851, allocations: 0.5257 MB / 0.9527 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of SimCode: time 1.272e-06/0.9852, allocations: 0 / 0.9527 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08626/1.071, allocations: 30.04 MB / 0.982 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.73, allocations: 19.02 kB / 0.982 GB, free: 15.2 MB / 0.7325 GB " [Timeout remaining time 644] (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 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.132621401979122] Failed to read output from testmodel.py, exit status != 0: 15.99818963900907 16.012538916 15.130016965 Calling exit ...