Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.001001/0.001001, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001015/0.001015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 8 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4666, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1783/0.645, allocations: 147.8 MB / 0.7275 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03979/0.6848, allocations: 25.57 MB / 0.7524 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004952/0.6898, allocations: 71.62 kB / 0.7525 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.6932, allocations: 0.9602 MB / 0.7535 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.6998, allocations: 1.608 MB / 0.755 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.7052, allocations: 1.421 MB / 0.7564 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008866/0.7141, allocations: 5.484 MB / 0.7618 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006856/0.721, allocations: 3.356 MB / 0.765 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.7248, allocations: 1.564 MB / 0.7666 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/0.7292, allocations: 2.132 MB / 0.7687 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.7304, allocations: 140 kB / 0.7688 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.7333, allocations: 0.636 MB / 0.7694 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.7349, allocations: 0.8559 MB / 0.7702 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.7367, allocations: 0.7495 MB / 0.771 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.7437, allocations: 5.105 MB / 0.776 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7437, allocations: 0 / 0.776 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7437, allocations: 0 / 0.776 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003098/0.7441, allocations: 0 / 0.776 GB, free: 10.53 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01275/0.7568, allocations: 4.362 MB / 0.7802 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7569, allocations: 8.031 kB / 0.7802 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002057/0.759, allocations: 0.5104 MB / 0.7807 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.7727, allocations: 2.955 MB / 0.7836 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007365/0.7801, allocations: 2.432 MB / 0.786 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.7805, allocations: 279.6 kB / 0.7863 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.7822, allocations: 368 kB / 0.7866 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.7993, allocations: 5.74 MB / 0.7922 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.7995, allocations: 11.84 kB / 0.7922 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/0.8007, allocations: 156 kB / 0.7924 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.355e-05/0.8008, allocations: 91.98 kB / 0.7925 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.8189, allocations: 6.919 MB / 0.7992 GB, free: 2.477 MB / 0.6231 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.03877/0.8577, allocations: 17.41 MB / 0.8162 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3887/1.246, allocations: 4.48 MB / 0.8206 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007206/1.254, allocations: 3.081 MB / 0.8236 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.255, allocations: 0.6741 MB / 0.8243 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007107/1.262, allocations: 2.721 MB / 0.8269 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 6.823e-06/1.262, allocations: 0 / 0.8269 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.0238/1.286, allocations: 9.601 MB / 0.8363 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/1.286, allocations: 214.9 kB / 0.8365 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/1.29, allocations: 2.638 MB / 0.8391 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007417/1.29, allocations: 78.36 kB / 0.8391 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/1.292, allocations: 1.548 MB / 0.8407 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.293, allocations: 1.05 MB / 0.8417 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/1.293, allocations: 51.84 kB / 0.8417 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.293, allocations: 419.1 kB / 0.8421 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/1.297, allocations: 2.156 MB / 0.8442 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/1.301, allocations: 2.513 MB / 0.8467 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/1.306, allocations: 2.344 MB / 0.849 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.306, allocations: 0 / 0.849 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01107/1.317, allocations: 5.74 MB / 0.8546 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.317, allocations: 8 kB / 0.8546 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.317, allocations: 4 kB / 0.8546 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.318, allocations: 0.8396 MB / 0.8554 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/1.322, allocations: 0.7995 MB / 0.8562 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/1.33, allocations: 6.993 MB / 0.863 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/1.334, allocations: 0.5945 MB / 0.8636 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/1.335, allocations: 111.9 kB / 0.8637 GB, free: 183.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002801/1.338, allocations: 1.02 MB / 0.8647 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.339, allocations: 308.2 kB / 0.865 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.352, allocations: 6.398 MB / 0.8713 GB, free: 176 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.352, allocations: 32 kB / 0.8713 GB, free: 176 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/1.352, allocations: 12 kB / 0.8713 GB, free: 176 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.851e-05/1.352, allocations: 15.94 kB / 0.8713 GB, free: 176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/1.371, allocations: 10.71 MB / 0.8818 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.371, allocations: 0 / 0.8818 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/1.374, allocations: 0.7723 MB / 0.8825 GB, free: 164.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/1.376, allocations: 0.7379 MB / 0.8832 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/1.376, allocations: 83.94 kB / 0.8833 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008813/1.385, allocations: 9.779 MB / 0.8929 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.385, allocations: 11.94 kB / 0.8929 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.402, allocations: 9.05 MB / 0.9017 GB, free: 144.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.404, allocations: 0.9376 MB / 0.9026 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008431/1.405, allocations: 63.98 kB / 0.9027 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.408, allocations: 451.2 kB / 0.9031 GB, free: 142.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/1.409, allocations: 214.3 kB / 0.9033 GB, free: 142.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003207/1.409, allocations: 103.9 kB / 0.9034 GB, free: 142.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003327/1.413, allocations: 1.912 MB / 0.9053 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.413, allocations: 0 / 0.9053 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004311/1.417, allocations: 1.222 MB / 0.9065 GB, free: 139.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02008/1.437, allocations: 10.54 MB / 0.9168 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.449, allocations: 5.473 MB / 0.9221 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.449, allocations: 0.6875 kB / 0.9221 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006951/1.456, allocations: 3.335 MB / 0.9254 GB, free: 120.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/1.462, allocations: 0.7082 MB / 0.9261 GB, free: 119.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0638/1.525, allocations: 29.21 MB / 0.9546 GB, free: 89.23 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/1.529, allocations: 2.698 MB / 0.9572 GB, free: 86.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005978/1.535, allocations: 1.158 MB / 0.9584 GB, free: 85.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003586/1.539, allocations: 1.636 MB / 0.96 GB, free: 83.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.539, allocations: 0 / 0.96 GB, free: 83.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/1.66, allocations: 80.56 MB / 1.039 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.66, allocations: 272.3 kB / 1.039 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.918/5.578, allocations: 0 / 1.039 GB, free: 3.516 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: