Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9551/0.9551, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.38 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.536/0.7104, allocations: 199.7 MB / 0.7788 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02911/0.7396, allocations: 15.14 MB / 0.7936 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005576/0.7452, allocations: 87.56 kB / 0.7937 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00466/0.7499, allocations: 1.139 MB / 0.7948 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009504/0.7594, allocations: 2.437 MB / 0.7972 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007709/0.7672, allocations: 1.937 MB / 0.7991 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.7787, allocations: 7.371 MB / 0.8063 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009616/0.7883, allocations: 4.913 MB / 0.8111 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.7939, allocations: 2.198 MB / 0.8132 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.7998, allocations: 2.946 MB / 0.8161 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.8019, allocations: 312 kB / 0.8164 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/0.8076, allocations: 1.848 MB / 0.8182 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002732/0.8104, allocations: 1.331 MB / 0.8195 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00546/0.8159, allocations: 2.362 MB / 0.8218 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.8273, allocations: 7.47 MB / 0.8291 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8274, allocations: 0 / 0.8291 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8274, allocations: 0 / 0.8291 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003294/0.8277, allocations: 0 / 0.8291 GB, free: 1.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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01733/0.8451, allocations: 5.619 MB / 0.8346 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.8451, allocations: 12.03 kB / 0.8346 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001784/0.8469, allocations: 0.5595 MB / 0.8352 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.8632, allocations: 2.993 MB / 0.8381 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006914/0.8702, allocations: 2.694 MB / 0.8407 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.8706, allocations: 308.2 kB / 0.841 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.8723, allocations: 408 kB / 0.8414 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.8915, allocations: 6.218 MB / 0.8475 GB, free: 14.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.8918, allocations: 8 kB / 0.8475 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.8931, allocations: 167.9 kB / 0.8476 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.8933, allocations: 144 kB / 0.8478 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/0.9143, allocations: 7.321 MB / 0.8549 GB, free: 7.191 MB / 0.67 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.3265/1.241, allocations: 18.87 MB / 0.8734 GB, free: 207.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009669/1.251, allocations: 4.815 MB / 0.8781 GB, free: 206.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005809/1.256, allocations: 3.161 MB / 0.8811 GB, free: 205.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000955/1.257, allocations: 0.6989 MB / 0.8818 GB, free: 204.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005976/1.263, allocations: 2.928 MB / 0.8847 GB, free: 203.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.19e-06/1.263, allocations: 0 / 0.8847 GB, free: 203.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04867/1.312, allocations: 16.24 MB / 0.9005 GB, free: 198.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.312, allocations: 223.1 kB / 0.9008 GB, free: 198 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007236/1.319, allocations: 2.9 MB / 0.9036 GB, free: 197.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000643/1.32, allocations: 94.22 kB / 0.9037 GB, free: 197 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.322, allocations: 1.688 MB / 0.9053 GB, free: 195.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.324, allocations: 1.148 MB / 0.9065 GB, free: 194.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/1.326, allocations: 0.5701 MB / 0.907 GB, free: 194.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/1.326, allocations: 310.7 kB / 0.9073 GB, free: 194.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00621/1.332, allocations: 2.317 MB / 0.9096 GB, free: 193.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006602/1.339, allocations: 2.681 MB / 0.9122 GB, free: 192.6 MB / 0.67 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.3533/1.692, allocations: 86.6 MB / 0.9968 GB, free: 123 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.692, allocations: 4 kB / 0.9968 GB, free: 123 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01464/1.707, allocations: 6.148 MB / 1.003 GB, free: 116.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/1.707, allocations: 37.69 kB / 1.003 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.707, allocations: 1.406 kB / 1.003 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.709, allocations: 0.8238 MB / 1.004 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/1.713, allocations: 0.8497 MB / 1.004 GB, free: 115.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.723, allocations: 6.947 MB / 1.011 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/1.728, allocations: 479.2 kB / 1.012 GB, free: 107.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009101/1.729, allocations: 119.9 kB / 1.012 GB, free: 107.4 MB / 0.67 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.00328/1.732, allocations: 1.149 MB / 1.013 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.734, allocations: 343.7 kB / 1.013 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.749, allocations: 6.772 MB / 1.02 GB, free: 99.12 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.749, allocations: 39.94 kB / 1.02 GB, free: 99.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-05/1.749, allocations: 8 kB / 1.02 GB, free: 99.08 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01087/1.76, allocations: 5.913 MB / 1.026 GB, free: 93.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/1.787, allocations: 11.74 MB / 1.037 GB, free: 81.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.787, allocations: 4 kB / 1.037 GB, free: 81.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003937/1.791, allocations: 0.8503 MB / 1.038 GB, free: 80.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/1.792, allocations: 0.6942 MB / 1.039 GB, free: 79.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/1.793, allocations: 104 kB / 1.039 GB, free: 79.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009209/1.802, allocations: 9.188 MB / 1.048 GB, free: 70 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.802, allocations: 7.938 kB / 1.048 GB, free: 69.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/1.822, allocations: 9.803 MB / 1.057 GB, free: 60.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004275/1.826, allocations: 0.9144 MB / 1.058 GB, free: 59.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/1.828, allocations: 83.78 kB / 1.058 GB, free: 59.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.832, allocations: 471.7 kB / 1.059 GB, free: 58.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.833, allocations: 254.2 kB / 1.059 GB, free: 58.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004525/1.833, allocations: 115.9 kB / 1.059 GB, free: 58.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003831/1.837, allocations: 2.111 MB / 1.061 GB, free: 56.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.837, allocations: 0 / 1.061 GB, free: 56.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00493/1.842, allocations: 1.103 MB / 1.062 GB, free: 55.02 MB / 0.67 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.02132/1.863, allocations: 11.32 MB / 1.073 GB, free: 44 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.875, allocations: 5.887 MB / 1.079 GB, free: 38.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.875, allocations: 4 kB / 1.079 GB, free: 38.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006566/1.882, allocations: 3.544 MB / 1.082 GB, free: 34.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/1.888, allocations: 0.9707 MB / 1.083 GB, free: 33.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4276/2.316, allocations: 43.33 MB / 1.126 GB, free: 201.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/2.318, allocations: 2.928 MB / 1.129 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004821/2.323, allocations: 1.27 MB / 1.13 GB, free: 200.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/2.326, allocations: 1.808 MB / 1.132 GB, free: 199.4 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/2.326, allocations: 0 / 1.132 GB, free: 199.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7444/3.07, allocations: 89.49 MB / 1.219 GB, free: 151.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/3.07, allocations: 297.8 kB / 1.219 GB, free: 150.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/7.667, allocations: 0 / 1.219 GB, free: 150.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)