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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006447/0.006447, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 196.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8067/0.8067, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 62.62 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6126/0.7723, allocations: 202.1 MB / 0.8566 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.7955, allocations: 15.12 MB / 0.8713 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.7996, allocations: 99.5 kB / 0.8714 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.803, allocations: 1.301 MB / 0.8727 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008756/0.8118, allocations: 2.643 MB / 0.8753 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.8187, allocations: 2.194 MB / 0.8774 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.829, allocations: 6.699 MB / 0.884 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009036/0.8381, allocations: 5.533 MB / 0.8894 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.8433, allocations: 2.644 MB / 0.8919 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005414/0.8488, allocations: 3.103 MB / 0.895 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001837/0.8506, allocations: 0.5742 MB / 0.8955 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.8561, allocations: 1.946 MB / 0.8974 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00257/0.8587, allocations: 1.609 MB / 0.899 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005347/0.864, allocations: 2.651 MB / 0.9016 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.8767, allocations: 7.762 MB / 0.9092 GB, free: 6.031 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.8767, allocations: 0 / 0.9092 GB, free: 6.031 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8767, allocations: 0 / 0.9092 GB, free: 6.031 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003316/0.8771, allocations: 0 / 0.9092 GB, free: 6.031 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01623/0.8933, allocations: 5.632 MB / 0.9147 GB, free: 320 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.8934, allocations: 12.03 kB / 0.9147 GB, free: 308 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001808/0.8952, allocations: 0.5556 MB / 0.9152 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.9109, allocations: 2.993 MB / 0.9181 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.9171, allocations: 2.737 MB / 0.9208 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.9175, allocations: 312.2 kB / 0.9211 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.9188, allocations: 411.9 kB / 0.9215 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.9351, allocations: 6.218 MB / 0.9276 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.9353, allocations: 7.938 kB / 0.9276 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009344/0.9362, allocations: 171.9 kB / 0.9278 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.9364, allocations: 140 kB / 0.9279 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.9546, allocations: 7.333 MB / 0.935 GB, free: 11.21 MB / 0.7012 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.03621/0.9908, allocations: 18.76 MB / 0.9534 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.003, allocations: 4.802 MB / 0.9581 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006879/1.01, allocations: 3.164 MB / 0.9611 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.011, allocations: 0.7051 MB / 0.9618 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006982/1.018, allocations: 2.932 MB / 0.9647 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.121e-06/1.018, allocations: 0 / 0.9647 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04529/1.063, allocations: 16.24 MB / 0.9806 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.063, allocations: 214.7 kB / 0.9808 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/1.068, allocations: 2.899 MB / 0.9836 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005407/1.069, allocations: 89.7 kB / 0.9837 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.07, allocations: 1.688 MB / 0.9853 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00142/1.072, allocations: 1.151 MB / 0.9865 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/1.073, allocations: 0.561 MB / 0.987 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.073, allocations: 305.1 kB / 0.9873 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/1.079, allocations: 2.316 MB / 0.9896 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005736/1.084, allocations: 2.687 MB / 0.9922 GB, free: 15.39 MB / 0.7637 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.79/1.874, allocations: 86.61 MB / 1.077 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.874, allocations: 0 / 1.077 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01496/1.889, allocations: 6.154 MB / 1.083 GB, free: 300.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/1.889, allocations: 32.61 kB / 1.083 GB, free: 300.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.889, allocations: 2.438 kB / 1.083 GB, free: 300.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.891, allocations: 0.817 MB / 1.084 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/1.896, allocations: 0.8627 MB / 1.084 GB, free: 299.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.906, allocations: 7.502 MB / 1.092 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.91, allocations: 433.6 kB / 1.092 GB, free: 294.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007954/1.911, allocations: 128 kB / 1.092 GB, free: 294.3 MB / 0.8106 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: 16 ($PRE.intGai.nextTimeEvent,$whenCondition2,$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 (313): * Single equations (assignments): 311 * 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.003004/1.914, allocations: 1.134 MB / 1.093 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.915, allocations: 344.8 kB / 1.094 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/1.93, allocations: 6.765 MB / 1.1 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.93, allocations: 36 kB / 1.1 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.93, allocations: 11.94 kB / 1.1 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/1.941, allocations: 5.909 MB / 1.106 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/1.962, allocations: 11.74 MB / 1.118 GB, free: 270.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.962, allocations: 0 / 1.118 GB, free: 270.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/1.966, allocations: 0.8546 MB / 1.118 GB, free: 269.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/1.967, allocations: 0.6955 MB / 1.119 GB, free: 269.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003546/1.967, allocations: 99.92 kB / 1.119 GB, free: 269.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009615/1.977, allocations: 10.05 MB / 1.129 GB, free: 258.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.977, allocations: 4 kB / 1.129 GB, free: 258.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/1.995, allocations: 9.805 MB / 1.139 GB, free: 248.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.997, allocations: 0.9176 MB / 1.14 GB, free: 247.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.998, allocations: 86.7 kB / 1.14 GB, free: 247.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/2.002, allocations: 427.4 kB / 1.14 GB, free: 247.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005933/2.002, allocations: 252.5 kB / 1.14 GB, free: 247.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/2.003, allocations: 123.9 kB / 1.14 GB, free: 247 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003298/2.006, allocations: 2.107 MB / 1.142 GB, free: 244.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/2.006, allocations: 0 / 1.142 GB, free: 244.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003585/2.01, allocations: 1.095 MB / 1.144 GB, free: 243.8 MB / 0.8106 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.01968/2.029, allocations: 11.32 MB / 1.155 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01099/2.04, allocations: 5.912 MB / 1.16 GB, free: 226.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.04, allocations: 0 / 1.16 GB, free: 226.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/2.047, allocations: 3.545 MB / 1.164 GB, free: 223.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/2.052, allocations: 1.024 MB / 1.165 GB, free: 222.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06653/2.119, allocations: 36.36 MB / 1.2 GB, free: 185.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003538/2.122, allocations: 2.928 MB / 1.203 GB, free: 182.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004705/2.127, allocations: 1.282 MB / 1.204 GB, free: 181.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/2.13, allocations: 1.811 MB / 1.206 GB, free: 179.6 MB / 0.8106 GB Notification: Performance of SimCode: time 1.413e-06/2.13, allocations: 0 / 1.206 GB, free: 179.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/2.273, allocations: 94.77 MB / 1.299 GB, free: 85.41 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/19.46, allocations: 7.812 kB / 1.299 GB, free: 85.4 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)