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.0009576/0.0009578, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008013/0.008013, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.342/1.342, 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-master/package.mo): time 0.9142/0.9142, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003857, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6256/0.8443, allocations: 196.9 MB / 0.7804 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03255/0.877, allocations: 14.97 MB / 0.795 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005557/0.8826, allocations: 87.5 kB / 0.7951 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.8862, allocations: 1.139 MB / 0.7962 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009125/0.8954, allocations: 2.427 MB / 0.7986 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/0.9019, allocations: 1.945 MB / 0.8005 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.913, allocations: 7.355 MB / 0.8076 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008526/0.9216, allocations: 4.585 MB / 0.8121 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.9261, allocations: 1.835 MB / 0.8139 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00521/0.9314, allocations: 2.493 MB / 0.8163 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.9324, allocations: 160 kB / 0.8165 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005372/0.9378, allocations: 1.688 MB / 0.8181 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.9394, allocations: 1.097 MB / 0.8192 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.9428, allocations: 2.075 MB / 0.8212 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.9537, allocations: 7.218 MB / 0.8283 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.9538, allocations: 4 kB / 0.8283 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9538, allocations: 0 / 0.8283 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002846/0.9541, allocations: 3.938 kB / 0.8283 GB, free: 6.102 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.01319/0.9673, allocations: 4.758 MB / 0.833 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.9674, allocations: 19.97 kB / 0.833 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002179/0.9696, allocations: 0.5556 MB / 0.8335 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.9861, allocations: 3.118 MB / 0.8366 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/0.9929, allocations: 2.683 MB / 0.8392 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.9933, allocations: 308.2 kB / 0.8395 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.9953, allocations: 408 kB / 0.8399 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/1.013, allocations: 6.281 MB / 0.846 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/1.014, allocations: 4 kB / 0.846 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/1.014, allocations: 171.9 kB / 0.8462 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/1.014, allocations: 144 kB / 0.8463 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/1.035, allocations: 7.435 MB / 0.8536 GB, free: 11.93 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.4271/1.462, allocations: 18.93 MB / 0.872 GB, free: 205.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/1.472, allocations: 4.828 MB / 0.8768 GB, free: 205 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006682/1.479, allocations: 3.182 MB / 0.8799 GB, free: 204 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.48, allocations: 0.6994 MB / 0.8806 GB, free: 203.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006861/1.487, allocations: 2.945 MB / 0.8834 GB, free: 202.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 7.104e-06/1.487, allocations: 2.406 kB / 0.8834 GB, free: 202.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.0491/1.536, allocations: 16.37 MB / 0.8994 GB, free: 197 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/1.536, allocations: 222 kB / 0.8996 GB, free: 196.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/1.544, allocations: 2.899 MB / 0.9025 GB, free: 195.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.545, allocations: 90.41 kB / 0.9025 GB, free: 195.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.548, allocations: 1.692 MB / 0.9042 GB, free: 194.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.55, allocations: 1.155 MB / 0.9053 GB, free: 193.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.551, allocations: 234 kB / 0.9056 GB, free: 193.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/1.551, allocations: 307.1 kB / 0.9058 GB, free: 193.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007009/1.558, allocations: 2.332 MB / 0.9081 GB, free: 192.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007859/1.566, allocations: 2.698 MB / 0.9108 GB, free: 191.5 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.3562/1.922, allocations: 88.21 MB / 0.9969 GB, free: 123.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.922, allocations: 0 / 0.9969 GB, free: 123.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01563/1.938, allocations: 6.193 MB / 1.003 GB, free: 117.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/1.938, allocations: 33.7 kB / 1.003 GB, free: 117.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.938, allocations: 4 kB / 1.003 GB, free: 117.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/1.94, allocations: 0.8161 MB / 1.004 GB, free: 116.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/1.944, allocations: 0.8569 MB / 1.005 GB, free: 115.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.955, allocations: 6.956 MB / 1.011 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/1.96, allocations: 0.4898 MB / 1.012 GB, free: 108.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009224/1.961, allocations: 123.9 kB / 1.012 GB, free: 108.1 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 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.003955/1.965, allocations: 1.139 MB / 1.013 GB, free: 106.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.966, allocations: 343.7 kB / 1.013 GB, free: 106.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.983, allocations: 6.807 MB / 1.02 GB, free: 99.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.983, allocations: 39.94 kB / 1.02 GB, free: 99.71 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/1.983, allocations: 8 kB / 1.02 GB, free: 99.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01212/1.995, allocations: 5.945 MB / 1.026 GB, free: 93.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/2.019, allocations: 11.78 MB / 1.037 GB, free: 81.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/2.019, allocations: 4 kB / 1.037 GB, free: 81.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004241/2.023, allocations: 0.8663 MB / 1.038 GB, free: 80.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/2.025, allocations: 0.698 MB / 1.039 GB, free: 80.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/2.025, allocations: 95.92 kB / 1.039 GB, free: 80.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00902/2.034, allocations: 9.186 MB / 1.048 GB, free: 70.53 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.034, allocations: 7.938 kB / 1.048 GB, free: 70.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/2.057, allocations: 9.854 MB / 1.058 GB, free: 60.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/2.06, allocations: 0.9532 MB / 1.059 GB, free: 59.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/2.061, allocations: 71.98 kB / 1.059 GB, free: 59.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004304/2.065, allocations: 494.8 kB / 1.059 GB, free: 59.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008181/2.066, allocations: 254.2 kB / 1.059 GB, free: 58.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005336/2.067, allocations: 119.9 kB / 1.059 GB, free: 58.64 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00336/2.07, allocations: 2.107 MB / 1.062 GB, free: 56.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/2.07, allocations: 0 / 1.062 GB, free: 56.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004531/2.075, allocations: 1.107 MB / 1.063 GB, free: 55.45 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.02226/2.097, allocations: 11.39 MB / 1.074 GB, free: 44.35 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01297/2.11, allocations: 5.914 MB / 1.08 GB, free: 38.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.11, allocations: 4 kB / 1.08 GB, free: 38.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007107/2.117, allocations: 3.561 MB / 1.083 GB, free: 34.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008066/2.125, allocations: 0.9733 MB / 1.084 GB, free: 33.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4033/2.529, allocations: 43.57 MB / 1.127 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/2.531, allocations: 2.92 MB / 1.129 GB, free: 196.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005041/2.536, allocations: 1.275 MB / 1.131 GB, free: 196.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/2.539, allocations: 1.809 MB / 1.132 GB, free: 196.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.603e-06/2.539, allocations: 0 / 1.132 GB, free: 196.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3305/2.869, allocations: 88.18 MB / 1.218 GB, free: 150.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/2.87, allocations: 305 kB / 1.219 GB, free: 150.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.519/8.389, allocations: 0 / 1.219 GB, free: 150.1 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)