Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001638/0.001638, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001997/0.001998, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.72/2.72, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.308/1.308, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000736/0.0007363, allocations: 11.94 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2953/1.369, allocations: 135.4 MB / 0.7152 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0536/1.422, allocations: 22.55 MB / 0.7372 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006177/1.429, allocations: 59.62 kB / 0.7373 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005025/1.434, allocations: 0.9452 MB / 0.7382 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/1.446, allocations: 2.074 MB / 0.7402 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00915/1.455, allocations: 1.635 MB / 0.7418 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01093/1.466, allocations: 2.734 MB / 0.7445 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008011/1.474, allocations: 2.833 MB / 0.7473 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005572/1.48, allocations: 1.253 MB / 0.7485 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006435/1.486, allocations: 1.54 MB / 0.75 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/1.488, allocations: 96 kB / 0.7501 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/1.493, allocations: 0.5735 MB / 0.7506 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.494, allocations: 0.6614 MB / 0.7513 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/1.496, allocations: 0.6013 MB / 0.7519 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/1.506, allocations: 4.115 MB / 0.7559 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/1.507, allocations: 0 / 0.7559 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.081e-05/1.507, allocations: 0 / 0.7559 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002847/1.507, allocations: 7.938 kB / 0.7559 GB, free: 15.08 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01644/1.523, allocations: 3.693 MB / 0.7595 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.079e-05/1.523, allocations: 12.03 kB / 0.7595 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003166/1.527, allocations: 430.2 kB / 0.7599 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02074/1.547, allocations: 2.87 MB / 0.7627 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008754/1.556, allocations: 2.08 MB / 0.7648 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/1.557, allocations: 230.2 kB / 0.765 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/1.559, allocations: 303.9 kB / 0.7653 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/1.583, allocations: 4.959 MB / 0.7701 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/1.583, allocations: 3.984 kB / 0.7701 GB, free: 300 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008206/1.584, allocations: 131.9 kB / 0.7702 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/1.584, allocations: 72 kB / 0.7703 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02664/1.611, allocations: 6.166 MB / 0.7763 GB, free: 9.914 MB / 0.6075 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.05623/1.667, allocations: 13.68 MB / 0.7897 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.685, allocations: 4.414 MB / 0.794 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.686, allocations: 0.6656 MB / 0.7947 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009287/1.696, allocations: 2.37 MB / 0.797 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=257): time 1.108e-05/1.696, allocations: 0 / 0.797 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=257): time 0.02971/1.725, allocations: 6.949 MB / 0.8038 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/1.726, allocations: 217.9 kB / 0.804 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/1.731, allocations: 2.303 MB / 0.8062 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.732, allocations: 81.69 kB / 0.8063 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002056/1.734, allocations: 1.313 MB / 0.8076 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/1.737, allocations: 0.8509 MB / 0.8084 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/1.737, allocations: 44 kB / 0.8084 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0003389/1.737, allocations: 394.4 kB / 0.8088 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006986/1.744, allocations: 1.874 MB / 0.8107 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007892/1.752, allocations: 2.176 MB / 0.8128 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008675/1.761, allocations: 2.014 MB / 0.8147 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/1.761, allocations: 4 kB / 0.8147 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.8395/2.601, allocations: 4.641 MB / 0.8193 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/2.601, allocations: 7.688 kB / 0.8193 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/2.601, allocations: 3.5 kB / 0.8193 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/2.602, allocations: 229.6 kB / 0.8195 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007555/2.61, allocations: 0.8041 MB / 0.8203 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/2.618, allocations: 3.175 MB / 0.8234 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007042/2.625, allocations: 0.5394 MB / 0.8239 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/2.626, allocations: 102.8 kB / 0.824 GB, free: 209.7 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 (264): * Single equations (assignments): 263 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005085/2.632, allocations: 0.8878 MB / 0.8249 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/2.633, allocations: 259.9 kB / 0.8251 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/2.655, allocations: 5.302 MB / 0.8303 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.099e-05/2.655, allocations: 28.89 kB / 0.8303 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/2.655, allocations: 3.969 kB / 0.8303 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.878e-05/2.655, allocations: 11.2 kB / 0.8304 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03325/2.689, allocations: 8.837 MB / 0.839 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/2.689, allocations: 3.5 kB / 0.839 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006737/2.696, allocations: 0.7604 MB / 0.8397 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/2.697, allocations: 263.8 kB / 0.84 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.698, allocations: 72.34 kB / 0.84 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/2.704, allocations: 4.868 MB / 0.8448 GB, free: 199 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.704, allocations: 0 / 0.8448 GB, free: 199 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/2.729, allocations: 7.527 MB / 0.8522 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/2.733, allocations: 0.8273 MB / 0.853 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/2.734, allocations: 49.81 kB / 0.853 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005261/2.739, allocations: 414.3 kB / 0.8534 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009206/2.74, allocations: 170.3 kB / 0.8536 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004957/2.741, allocations: 98.33 kB / 0.8537 GB, free: 194 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00389/2.745, allocations: 1.685 MB / 0.8553 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.5e-07/2.745, allocations: 0 / 0.8553 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005661/2.75, allocations: 0.9751 MB / 0.8563 GB, free: 191.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02755/2.778, allocations: 9.007 MB / 0.8651 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01521/2.793, allocations: 4.53 MB / 0.8695 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.793, allocations: 0 / 0.8695 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008162/2.801, allocations: 2.609 MB / 0.872 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/2.806, allocations: 0.5443 MB / 0.8726 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07355/2.88, allocations: 26.1 MB / 0.898 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/2.883, allocations: 2.443 MB / 0.9004 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00753/2.89, allocations: 1.105 MB / 0.9015 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004191/2.895, allocations: 1.362 MB / 0.9028 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.605e-06/2.895, allocations: 4 kB / 0.9028 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/3.062, allocations: 65.85 MB / 0.9672 GB, free: 77.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/3.062, allocations: 269.7 kB / 0.9674 GB, free: 77.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/9.571, allocations: 0 / 0.9674 GB, free: 77.48 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: