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.009316/0.009316, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001847/0.001847, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5099, allocations: 80.92 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2441/0.7541, allocations: 202.1 MB / 0.8615 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5386/1.293, allocations: 15.12 MB / 0.8763 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/1.298, allocations: 93.16 kB / 0.8764 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/1.302, allocations: 1.317 MB / 0.8777 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009416/1.311, allocations: 2.73 MB / 0.8803 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006874/1.318, allocations: 2.204 MB / 0.8825 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01248/1.331, allocations: 6.711 MB / 0.889 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/1.342, allocations: 5.51 MB / 0.8944 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006791/1.349, allocations: 2.663 MB / 0.897 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008267/1.357, allocations: 3.102 MB / 0.9 GB, free: 17.13 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003159/1.361, allocations: 0.5692 MB / 0.9006 GB, free: 17.13 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006925/1.368, allocations: 1.95 MB / 0.9025 GB, free: 17.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003523/1.371, allocations: 1.615 MB / 0.9041 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006648/1.378, allocations: 2.651 MB / 0.9067 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/1.393, allocations: 7.756 MB / 0.9142 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.393, allocations: 1.031 kB / 0.9142 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/1.393, allocations: 0 / 0.9142 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003908/1.394, allocations: 3.75 kB / 0.9143 GB, free: 15.18 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.02043/1.414, allocations: 5.635 MB / 0.9198 GB, free: 13 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.414, allocations: 9.406 kB / 0.9198 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002511/1.417, allocations: 0.5592 MB / 0.9203 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/1.432, allocations: 2.999 MB / 0.9232 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008158/1.44, allocations: 2.743 MB / 0.9259 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004048/1.441, allocations: 309.6 kB / 0.9262 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/1.443, allocations: 405.5 kB / 0.9266 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.463, allocations: 6.231 MB / 0.9327 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.463, allocations: 3.906 kB / 0.9327 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/1.465, allocations: 169.5 kB / 0.9329 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/1.465, allocations: 141.1 kB / 0.933 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.485, allocations: 7.328 MB / 0.9401 GB, free: 8.125 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.04471/1.53, allocations: 18.76 MB / 0.9585 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.541, allocations: 4.806 MB / 0.9632 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007633/1.549, allocations: 3.159 MB / 0.9662 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.55, allocations: 0.7023 MB / 0.9669 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007937/1.558, allocations: 2.936 MB / 0.9698 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 7.234e-06/1.558, allocations: 0 / 0.9698 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04873/1.607, allocations: 16.24 MB / 0.9856 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.607, allocations: 222.7 kB / 0.9859 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/1.614, allocations: 2.904 MB / 0.9887 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.615, allocations: 89.7 kB / 0.9888 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.617, allocations: 1.685 MB / 0.9904 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.619, allocations: 1.152 MB / 0.9916 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003021/1.622, allocations: 0.5649 MB / 0.9921 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.622, allocations: 301.1 kB / 0.9924 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/1.628, allocations: 2.316 MB / 0.9947 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006604/1.635, allocations: 2.686 MB / 0.9973 GB, free: 15.43 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.3615/1.997, allocations: 86.6 MB / 1.082 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.997, allocations: 0 / 1.082 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01866/2.015, allocations: 6.161 MB / 1.088 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/2.015, allocations: 29.7 kB / 1.088 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/2.015, allocations: 12.05 kB / 1.088 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/2.017, allocations: 0.82 MB / 1.089 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/2.023, allocations: 0.8579 MB / 1.09 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/2.034, allocations: 7.505 MB / 1.097 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/2.039, allocations: 433.7 kB / 1.097 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/2.04, allocations: 123.9 kB / 1.097 GB, free: 8.637 MB / 0.8575 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.004227/2.045, allocations: 1.146 MB / 1.099 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/2.046, allocations: 343.8 kB / 1.099 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01853/2.065, allocations: 6.756 MB / 1.105 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/2.065, allocations: 36 kB / 1.105 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.848e-05/2.065, allocations: 12 kB / 1.105 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01444/2.079, allocations: 5.924 MB / 1.111 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/2.109, allocations: 11.72 MB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/2.109, allocations: 4.469 kB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004562/2.114, allocations: 0.8539 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/2.116, allocations: 0.7025 MB / 1.124 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008247/2.117, allocations: 95.94 kB / 1.124 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/2.129, allocations: 10.05 MB / 1.134 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/2.129, allocations: 11.03 kB / 1.134 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02523/2.154, allocations: 9.8 MB / 1.144 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0033/2.157, allocations: 0.9144 MB / 1.145 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/2.159, allocations: 79.83 kB / 1.145 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004571/2.164, allocations: 428.3 kB / 1.145 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/2.165, allocations: 249.4 kB / 1.145 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008397/2.166, allocations: 123.9 kB / 1.145 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004647/2.17, allocations: 2.107 MB / 1.148 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.41e-07/2.17, allocations: 0 / 1.148 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006145/2.176, allocations: 1.09 MB / 1.149 GB, free: 3.625 MB / 0.9044 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.02586/2.202, allocations: 11.34 MB / 1.16 GB, free: 8.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01478/2.217, allocations: 5.903 MB / 1.165 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.217, allocations: 4 kB / 1.165 GB, free: 2.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00853/2.226, allocations: 3.549 MB / 1.169 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006603/2.232, allocations: 1.031 MB / 1.17 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4935/2.726, allocations: 36.33 MB / 1.205 GB, free: 438.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/2.73, allocations: 2.926 MB / 1.208 GB, free: 437.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004426/2.734, allocations: 1.276 MB / 1.209 GB, free: 437.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.737, allocations: 1.81 MB / 1.211 GB, free: 437.6 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/2.737, allocations: 0 / 1.211 GB, free: 437.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/2.886, allocations: 93.16 MB / 1.302 GB, free: 369.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/19.78, allocations: 10.64 kB / 1.302 GB, free: 369.4 MB / 0.9512 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)