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.000863/0.0008633, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005685/0.005685, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7384/0.7384, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4487, allocations: 81.56 MB / 0.5837 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2297/0.6784, allocations: 197 MB / 0.7761 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.7021, allocations: 14.96 MB / 0.7907 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.7062, allocations: 87.5 kB / 0.7908 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.7091, allocations: 1.151 MB / 0.7919 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008417/0.7175, allocations: 2.425 MB / 0.7943 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.7229, allocations: 1.935 MB / 0.7961 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009041/0.732, allocations: 7.369 MB / 0.8033 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006754/0.7387, allocations: 4.593 MB / 0.8078 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.7422, allocations: 1.835 MB / 0.8096 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.7464, allocations: 2.487 MB / 0.812 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006487/0.747, allocations: 156 kB / 0.8122 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.7506, allocations: 1.7 MB / 0.8139 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.7517, allocations: 1.093 MB / 0.8149 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.7541, allocations: 2.075 MB / 0.8169 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4384/1.192, allocations: 7.204 MB / 0.824 GB, free: 13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.193, allocations: 3.281 kB / 0.824 GB, free: 13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.805e-06/1.193, allocations: 3.688 kB / 0.824 GB, free: 13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000363/1.193, allocations: 0 / 0.824 GB, free: 13 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.01576/1.209, allocations: 4.763 MB / 0.8286 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.209, allocations: 9.562 kB / 0.8287 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002429/1.211, allocations: 0.5591 MB / 0.8292 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/1.228, allocations: 3.113 MB / 0.8322 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/1.235, allocations: 2.687 MB / 0.8349 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/1.236, allocations: 311.1 kB / 0.8352 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/1.237, allocations: 405.2 kB / 0.8355 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/1.254, allocations: 6.279 MB / 0.8417 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/1.254, allocations: 8.719 kB / 0.8417 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/1.254, allocations: 167.3 kB / 0.8418 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.255, allocations: 143.8 kB / 0.842 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/1.272, allocations: 7.443 MB / 0.8492 GB, free: 9.391 MB / 0.6387 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.03626/1.309, allocations: 18.95 MB / 0.8678 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00962/1.318, allocations: 4.822 MB / 0.8725 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006659/1.325, allocations: 3.186 MB / 0.8756 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009427/1.326, allocations: 0.694 MB / 0.8763 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00638/1.332, allocations: 2.955 MB / 0.8791 GB, free: 32 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 6.442e-06/1.332, allocations: 0 / 0.8791 GB, free: 32 kB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.04328/1.376, allocations: 16.37 MB / 0.8951 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.376, allocations: 217.6 kB / 0.8953 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.38, allocations: 2.907 MB / 0.8982 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007283/1.381, allocations: 86.77 kB / 0.8983 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.382, allocations: 1.688 MB / 0.8999 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.384, allocations: 1.149 MB / 0.901 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/1.384, allocations: 235.2 kB / 0.9012 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/1.384, allocations: 305.1 kB / 0.9015 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/1.39, allocations: 2.333 MB / 0.9038 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.396, allocations: 2.697 MB / 0.9065 GB, free: 3.086 MB / 0.6544 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.3791/1.775, allocations: 88.21 MB / 0.9926 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.775, allocations: 0 / 0.9926 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01611/1.791, allocations: 6.191 MB / 0.9986 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.791, allocations: 33.69 kB / 0.9987 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.791, allocations: 4 kB / 0.9987 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/1.793, allocations: 0.8161 MB / 0.9995 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/1.797, allocations: 0.8601 MB / 1 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.808, allocations: 6.961 MB / 1.007 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.813, allocations: 495.2 kB / 1.008 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/1.814, allocations: 123.9 kB / 1.008 GB, free: 14.09 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.003658/1.818, allocations: 1.138 MB / 1.009 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.819, allocations: 347.6 kB / 1.009 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.836, allocations: 6.796 MB / 1.016 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/1.836, allocations: 39.94 kB / 1.016 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.836, allocations: 14.61 kB / 1.016 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01318/1.849, allocations: 5.956 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.874, allocations: 11.76 MB / 1.033 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/1.875, allocations: 6.734 kB / 1.033 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004355/1.879, allocations: 0.8642 MB / 1.034 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/1.881, allocations: 0.701 MB / 1.035 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005173/1.881, allocations: 95.92 kB / 1.035 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.892, allocations: 9.199 MB / 1.044 GB, free: 8.723 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.892, allocations: 6.906 kB / 1.044 GB, free: 8.719 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.915, allocations: 9.856 MB / 1.053 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/1.918, allocations: 0.9493 MB / 1.054 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.919, allocations: 75.98 kB / 1.054 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004352/1.923, allocations: 487.9 kB / 1.055 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007419/1.924, allocations: 253.2 kB / 1.055 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/1.924, allocations: 119.9 kB / 1.055 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003937/1.928, allocations: 2.107 MB / 1.057 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.11e-07/1.928, allocations: 2.906 kB / 1.057 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004715/1.933, allocations: 1.102 MB / 1.058 GB, free: 9.668 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.02386/1.957, allocations: 11.38 MB / 1.069 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.971, allocations: 5.916 MB / 1.075 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.971, allocations: 8 kB / 1.075 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008686/1.98, allocations: 3.568 MB / 1.079 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/1.989, allocations: 0.9668 MB / 1.08 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.331/2.32, allocations: 43.58 MB / 1.122 GB, free: 426.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/2.322, allocations: 2.929 MB / 1.125 GB, free: 425.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004939/2.327, allocations: 1.27 MB / 1.126 GB, free: 425.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002699/2.33, allocations: 1.81 MB / 1.128 GB, free: 424.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.422e-06/2.33, allocations: 0 / 1.128 GB, free: 424.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/3.565, allocations: 88.17 MB / 1.214 GB, free: 350.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/3.566, allocations: 303.5 kB / 1.214 GB, free: 349.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/8.425, allocations: 0 / 1.214 GB, free: 349.8 MB / 0.8575 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)