Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 188.6 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8445/0.8445, allocations: 134 MB / 440.3 MB, free: 236 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=168,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=168,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.14 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1827, allocations: 84.74 MB / 0.6935 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.8137/0.9964, allocations: 203.2 MB / 0.8919 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03036/1.027, allocations: 15.35 MB / 0.9069 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00575/1.032, allocations: 123.1 kB / 0.907 GB, free: 7.566 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004583/1.037, allocations: 1.332 MB / 0.9083 GB, free: 6.227 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009679/1.047, allocations: 2.761 MB / 0.911 GB, free: 3.457 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008717/1.055, allocations: 2.298 MB / 0.9133 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.068, allocations: 6.762 MB / 0.9199 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008969/1.077, allocations: 4.076 MB / 0.9239 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006654/1.084, allocations: 2.706 MB / 0.9265 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006707/1.091, allocations: 3.206 MB / 0.9296 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002877/1.094, allocations: 0.5704 MB / 0.9302 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006712/1.1, allocations: 2.032 MB / 0.9322 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003444/1.104, allocations: 1.632 MB / 0.9338 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006585/1.11, allocations: 2.647 MB / 0.9364 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.126, allocations: 7.789 MB / 0.944 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.126, allocations: 0 / 0.944 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.904e-06/1.126, allocations: 0 / 0.944 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003683/1.127, allocations: 0 / 0.944 GB, free: 1.586 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01754/1.144, allocations: 5.695 MB / 0.9495 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.144, allocations: 12.03 kB / 0.9495 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.161, allocations: 3.031 MB / 0.9525 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/1.169, allocations: 2.699 MB / 0.9551 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/1.169, allocations: 308.2 kB / 0.9554 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/1.171, allocations: 408 kB / 0.9558 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/1.189, allocations: 6.222 MB / 0.9619 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.23e-05/1.189, allocations: 4 kB / 0.9619 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/1.19, allocations: 168 kB / 0.962 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/1.19, allocations: 152 kB / 0.9622 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/1.21, allocations: 7.325 MB / 0.9693 GB, free: 7.305 MB / 0.7325 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.04617/1.256, allocations: 18.72 MB / 0.9876 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/1.269, allocations: 4.535 MB / 0.9921 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007699/1.276, allocations: 2.925 MB / 0.9949 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.277, allocations: 178.5 kB / 0.9951 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008135/1.286, allocations: 2.928 MB / 0.9979 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=345): time 6.902e-06/1.286, allocations: 4 kB / 0.9979 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=347): time 0.05035/1.336, allocations: 15.97 MB / 1.014 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.336, allocations: 218.7 kB / 1.014 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.341, allocations: 2.907 MB / 1.017 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008216/1.342, allocations: 89.7 kB / 1.017 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.344, allocations: 1.711 MB / 1.018 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.346, allocations: 1.208 MB / 1.02 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002541/1.348, allocations: 0.5885 MB / 1.02 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.348, allocations: 305.1 kB / 1.02 GB, free: 2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006402/1.355, allocations: 2.332 MB / 1.023 GB, free: 15.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007203/1.362, allocations: 2.681 MB / 1.025 GB, free: 12.92 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.8224/2.184, allocations: 86.62 MB / 1.11 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/2.184, allocations: 0 / 1.11 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01368/2.198, allocations: 6.181 MB / 1.116 GB, free: 289.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/2.198, allocations: 33.7 kB / 1.116 GB, free: 289.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/2.198, allocations: 7.984 kB / 1.116 GB, free: 289.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/2.2, allocations: 0.8335 MB / 1.117 GB, free: 288.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/2.204, allocations: 0.8618 MB / 1.118 GB, free: 288 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008859/2.213, allocations: 7.395 MB / 1.125 GB, free: 280.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/2.218, allocations: 439.4 kB / 1.125 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007375/2.219, allocations: 131.9 kB / 1.125 GB, free: 280.1 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002498/2.221, allocations: 1.136 MB / 1.126 GB, free: 278.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/2.222, allocations: 358 kB / 1.127 GB, free: 278.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.237, allocations: 6.745 MB / 1.133 GB, free: 272 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/2.237, allocations: 36 kB / 1.133 GB, free: 272 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/2.237, allocations: 11.94 kB / 1.133 GB, free: 272 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01249/2.25, allocations: 5.871 MB / 1.139 GB, free: 266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02589/2.275, allocations: 11.72 MB / 1.151 GB, free: 254.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/2.275, allocations: 4 kB / 1.151 GB, free: 254.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004661/2.28, allocations: 0.8506 MB / 1.151 GB, free: 253.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/2.282, allocations: 0.7019 MB / 1.152 GB, free: 252.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007157/2.282, allocations: 99.92 kB / 1.152 GB, free: 252.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009633/2.292, allocations: 9.746 MB / 1.162 GB, free: 242.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/2.292, allocations: 8 kB / 1.162 GB, free: 242.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/2.313, allocations: 9.785 MB / 1.171 GB, free: 232.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003134/2.316, allocations: 0.8802 MB / 1.172 GB, free: 231.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/2.318, allocations: 82.47 kB / 1.172 GB, free: 231.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004317/2.322, allocations: 431.8 kB / 1.173 GB, free: 231.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008585/2.323, allocations: 266.1 kB / 1.173 GB, free: 231 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005415/2.323, allocations: 123.9 kB / 1.173 GB, free: 230.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002916/2.326, allocations: 2.103 MB / 1.175 GB, free: 228.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/2.326, allocations: 0 / 1.175 GB, free: 228.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003789/2.33, allocations: 1.103 MB / 1.176 GB, free: 227.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/2.334, allocations: 1.067 MB / 1.177 GB, free: 227.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01337/2.347, allocations: 5.737 MB / 1.183 GB, free: 221.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.347, allocations: 0 / 1.183 GB, free: 221.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007409/2.355, allocations: 3.387 MB / 1.186 GB, free: 218 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/2.36, allocations: 1.037 MB / 1.187 GB, free: 217 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/2.379, allocations: 10.01 MB / 1.197 GB, free: 206.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/2.382, allocations: 2.928 MB / 1.2 GB, free: 204 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004886/2.387, allocations: 1.27 MB / 1.201 GB, free: 202.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/2.388, allocations: 303.3 kB / 1.201 GB, free: 202.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.153e-06/2.388, allocations: 0 / 1.201 GB, free: 202.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.1002/2.488, allocations: 66.39 MB / 1.266 GB, free: 136.5 MB / 0.8262 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.393097586929798] Failed to read output from testmodel.py, exit status != 0: 2.4970383513718843 2.508315862 1.379414212 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb355f457b0>