Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001256/0.001256, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001445/0.001445, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 0.995/0.995, allocations: 150 MB / 464 MB, free: 10.27 MB / 366.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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.002041/0.002041, allocations: 58.72 kB / 0.6419 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 89.18 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.009542/0.1909, allocations: 4.461 MB / 0.7334 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.598/0.7888, allocations: 132.6 MB / 0.8628 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.7902, allocations: 23.81 kB / 0.8629 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.7913, allocations: 196.3 kB / 0.8631 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.794, allocations: 0.5732 MB / 0.8636 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.7964, allocations: 0.8556 MB / 0.8644 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002232/0.7987, allocations: 1.39 MB / 0.8658 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.7998, allocations: 413 kB / 0.8662 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.8009, allocations: 0.4983 MB / 0.8667 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.8019, allocations: 0.5056 MB / 0.8672 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003636/0.8023, allocations: 116 kB / 0.8673 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.8039, allocations: 0.4918 MB / 0.8678 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006275/0.8045, allocations: 299 kB / 0.8681 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.8057, allocations: 465.8 kB / 0.8685 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.8092, allocations: 1.679 MB / 0.8701 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8092, allocations: 0 / 0.8701 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8092, allocations: 4 kB / 0.8701 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.33e-05/0.8092, allocations: 1.781 kB / 0.8701 GB, free: 4.613 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00454/0.8138, allocations: 1.419 MB / 0.8715 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8138, allocations: 12.03 kB / 0.8715 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.92e-05/0.8139, allocations: 22.19 kB / 0.8716 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003637/0.8143, allocations: 139.2 kB / 0.8717 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.8161, allocations: 224 kB / 0.8719 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.8179, allocations: 0.7151 MB / 0.8726 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.818, allocations: 62 kB / 0.8727 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.8181, allocations: 80.5 kB / 0.8727 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.8204, allocations: 1.174 MB / 0.8739 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.8204, allocations: 0 / 0.8739 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8205, allocations: 32 kB / 0.8739 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.8206, allocations: 20 kB / 0.8739 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.8226, allocations: 1.093 MB / 0.875 GB, free: 15.45 MB / 0.6544 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.004619/0.8272, allocations: 2.285 MB / 0.8772 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.8288, allocations: 0.7365 MB / 0.878 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.8293, allocations: 266.6 kB / 0.8782 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.8294, allocations: 28.62 kB / 0.8782 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000995/0.8304, allocations: 0.5793 MB / 0.8788 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.534e-06/0.8304, allocations: 0 / 0.8788 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.003432/0.8338, allocations: 1.111 MB / 0.8799 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.834, allocations: 188.6 kB / 0.8801 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.8351, allocations: 0.6607 MB / 0.8807 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/0.8352, allocations: 45.7 kB / 0.8808 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.8357, allocations: 408.9 kB / 0.8812 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.8359, allocations: 265.8 kB / 0.8814 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.8362, allocations: 146.6 kB / 0.8815 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.8365, allocations: 390.7 kB / 0.8819 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.837, allocations: 246.9 kB / 0.8822 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.8378, allocations: 487.9 kB / 0.8826 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.839, allocations: 0.5768 MB / 0.8832 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.839, allocations: 3.562 kB / 0.8832 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002119/0.8411, allocations: 0.7984 MB / 0.884 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8411, allocations: 12.12 kB / 0.884 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8412, allocations: 0 / 0.884 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.8418, allocations: 76.78 kB / 0.884 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.8425, allocations: 163.7 kB / 0.8842 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.8449, allocations: 1.517 MB / 0.8857 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.8457, allocations: 91.5 kB / 0.8858 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.8458, allocations: 27.98 kB / 0.8858 GB, free: 3.996 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0006485/0.8464, allocations: 274.9 kB / 0.8861 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.8467, allocations: 87.44 kB / 0.8861 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.8493, allocations: 1.047 MB / 0.8872 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8493, allocations: 8 kB / 0.8872 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8493, allocations: 7.875 kB / 0.8872 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.8493, allocations: 3.984 kB / 0.8872 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.8506, allocations: 0.7468 MB / 0.8879 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.8506, allocations: 0 / 0.8879 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.8512, allocations: 139.8 kB / 0.888 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.8516, allocations: 72.78 kB / 0.8881 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.8517, allocations: 23.98 kB / 0.8881 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.8539, allocations: 1.559 MB / 0.8897 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8539, allocations: 0 / 0.8897 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.8561, allocations: 0.9166 MB / 0.8906 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.8566, allocations: 195.1 kB / 0.8907 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.8568, allocations: 23.98 kB / 0.8908 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.8575, allocations: 59.94 kB / 0.8908 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.8577, allocations: 72.86 kB / 0.8909 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/0.8578, allocations: 39.91 kB / 0.8909 GB, free: 14.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009586/0.8588, allocations: 479 kB / 0.8914 GB, free: 14.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8588, allocations: 0 / 0.8914 GB, free: 14.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001174/0.8599, allocations: 323.1 kB / 0.8917 GB, free: 13.75 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.00477/0.8647, allocations: 2.011 MB / 0.8937 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.8667, allocations: 0.7726 MB / 0.8944 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/0.8667, allocations: 3.984 kB / 0.8944 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8677, allocations: 488.5 kB / 0.8949 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.8692, allocations: 294.6 kB / 0.8952 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.8812, allocations: 6.247 MB / 0.9013 GB, free: 4.016 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.8817, allocations: 439.3 kB / 0.9017 GB, free: 3.555 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008876/0.8826, allocations: 264.3 kB / 0.9019 GB, free: 3.293 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.8833, allocations: 399.3 kB / 0.9023 GB, free: 2.902 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.8833, allocations: 0 / 0.9023 GB, free: 2.902 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.9461, allocations: 23.16 MB / 0.9249 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.8, allocations: 10.88 kB / 0.9249 GB, free: 12.06 MB / 0.7012 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.823103784001432] Failed to read output from testmodel.py, exit status != 0: 16.086382176959887 16.108789971 15.295340212 Calling exit ...