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.001932/0.001932, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002445/0.002445, allocations: 211.7 kB / 23.78 MB, free: 4.555 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.026/1.026, allocations: 150 MB / 463.9 MB, free: 10.21 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.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002174/0.002174, allocations: 63.67 kB / 0.642 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1752, allocations: 89.17 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007638/0.1828, allocations: 4.726 MB / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5707/0.7535, allocations: 132.7 MB / 0.8632 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009236/0.7544, allocations: 23.81 kB / 0.8632 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.7553, allocations: 206.1 kB / 0.8634 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.7581, allocations: 0.5897 MB / 0.864 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.7608, allocations: 0.8683 MB / 0.8648 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.7632, allocations: 1.471 MB / 0.8663 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/0.7642, allocations: 431.8 kB / 0.8667 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.7651, allocations: 0.5294 MB / 0.8672 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.7658, allocations: 0.5367 MB / 0.8677 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.766, allocations: 124 kB / 0.8678 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.7671, allocations: 0.5035 MB / 0.8683 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.7674, allocations: 311 kB / 0.8686 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.768, allocations: 493.6 kB / 0.8691 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.7704, allocations: 1.753 MB / 0.8708 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7704, allocations: 0 / 0.8708 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7704, allocations: 0 / 0.8708 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.7704, allocations: 4 kB / 0.8708 GB, free: 3.941 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003263/0.7736, allocations: 1.478 MB / 0.8723 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.7737, allocations: 8.031 kB / 0.8723 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.216e-05/0.7738, allocations: 26.19 kB / 0.8723 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.7739, allocations: 139.7 kB / 0.8724 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.7756, allocations: 243.9 kB / 0.8727 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.777, allocations: 0.7399 MB / 0.8734 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.7771, allocations: 66 kB / 0.8734 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.7773, allocations: 84 kB / 0.8735 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.7793, allocations: 1.208 MB / 0.8747 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.7794, allocations: 3.984 kB / 0.8747 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.7795, allocations: 36 kB / 0.8747 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.7795, allocations: 24 kB / 0.8748 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.7816, allocations: 1.136 MB / 0.8759 GB, free: 14.58 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.004574/0.7861, allocations: 2.308 MB / 0.8781 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.7877, allocations: 0.7946 MB / 0.8789 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.7883, allocations: 298.7 kB / 0.8792 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/0.7884, allocations: 24.64 kB / 0.8792 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.7894, allocations: 0.6144 MB / 0.8798 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 2.765e-06/0.7894, allocations: 4 kB / 0.8798 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.00357/0.793, allocations: 1.176 MB / 0.881 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.7931, allocations: 188.9 kB / 0.8812 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7941, allocations: 0.6724 MB / 0.8818 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.64e-05/0.7942, allocations: 49.69 kB / 0.8819 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.7946, allocations: 429.1 kB / 0.8823 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7949, allocations: 285.5 kB / 0.8825 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.7951, allocations: 158.6 kB / 0.8827 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.7953, allocations: 390.8 kB / 0.8831 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.7958, allocations: 253.9 kB / 0.8833 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/0.7966, allocations: 499.1 kB / 0.8838 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7977, allocations: 0.6164 MB / 0.8844 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7977, allocations: 0 / 0.8844 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002057/0.7998, allocations: 0.8413 MB / 0.8852 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7998, allocations: 6.25 kB / 0.8852 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7998, allocations: 0 / 0.8852 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.8005, allocations: 84.86 kB / 0.8853 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.8012, allocations: 167.6 kB / 0.8854 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.8035, allocations: 1.524 MB / 0.8869 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.8042, allocations: 92.53 kB / 0.887 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.8043, allocations: 36.05 kB / 0.8871 GB, free: 2.738 MB / 0.6544 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 (92): * Single equations (assignments): 91 * 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.0004883/0.8047, allocations: 265.7 kB / 0.8873 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.8049, allocations: 91.44 kB / 0.8874 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.8075, allocations: 1.097 MB / 0.8885 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.8075, allocations: 8 kB / 0.8885 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.8075, allocations: 0 / 0.8885 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8075, allocations: 7.984 kB / 0.8885 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.8086, allocations: 0.783 MB / 0.8893 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8086, allocations: 0 / 0.8893 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.8094, allocations: 159.7 kB / 0.8894 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.8098, allocations: 72.78 kB / 0.8895 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.8099, allocations: 23.98 kB / 0.8895 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.8119, allocations: 1.557 MB / 0.891 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8119, allocations: 0 / 0.891 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.8149, allocations: 1.371 MB / 0.8924 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.8154, allocations: 211 kB / 0.8926 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.8155, allocations: 31.98 kB / 0.8926 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.8162, allocations: 59.94 kB / 0.8926 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.8164, allocations: 72.86 kB / 0.8927 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.8164, allocations: 39.97 kB / 0.8928 GB, free: 12.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007125/0.8171, allocations: 491 kB / 0.8932 GB, free: 12.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8171, allocations: 0 / 0.8932 GB, free: 12.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009623/0.8181, allocations: 335.2 kB / 0.8935 GB, free: 11.9 MB / 0.67 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 (96): * Single equations (assignments): 90 * 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.005538/0.8236, allocations: 2.47 MB / 0.896 GB, free: 9.652 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.8256, allocations: 0.8038 MB / 0.8967 GB, free: 8.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8256, allocations: 4.188 kB / 0.8967 GB, free: 8.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000979/0.8266, allocations: 0.4924 MB / 0.8972 GB, free: 8.332 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.8279, allocations: 310.1 kB / 0.8975 GB, free: 8.051 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.8407, allocations: 6.617 MB / 0.904 GB, free: 1.281 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.8413, allocations: 461.6 kB / 0.9044 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8424, allocations: 263.1 kB / 0.9047 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.8432, allocations: 423.2 kB / 0.9051 GB, free: 124 kB / 0.67 GB Notification: Performance of SimCode: time 1.774e-06/0.8432, allocations: 0 / 0.9051 GB, free: 124 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.9434, allocations: 24.01 MB / 0.9285 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.03, allocations: 8 kB / 0.9285 GB, free: 8.438 MB / 0.7012 GB " [Timeout remaining time 644] (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: 20.2988533830503] Failed to read output from testmodel.py, exit status != 0: 16.325717416009866 16.351639513 15.576023755 Calling exit ...