Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.001338/0.001338, allocations: 99.08 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.001666/0.001666, 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.523/2.523, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.314/1.314, allocations: 132.2 MB / 423.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006995/0.0006999, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.791, allocations: 81.57 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2889/1.08, allocations: 135.9 MB / 0.7157 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.06417/1.144, allocations: 22.74 MB / 0.7379 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006607/1.151, allocations: 63.62 kB / 0.738 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006074/1.157, allocations: 0.9646 MB / 0.7389 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01639/1.174, allocations: 2.136 MB / 0.741 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01263/1.186, allocations: 1.66 MB / 0.7426 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01441/1.201, allocations: 2.913 MB / 0.7455 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/1.211, allocations: 2.946 MB / 0.7483 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005945/1.217, allocations: 1.315 MB / 0.7496 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006028/1.223, allocations: 1.622 MB / 0.7512 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/1.225, allocations: 111.9 kB / 0.7513 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/1.23, allocations: 0.5736 MB / 0.7519 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002563/1.233, allocations: 0.7042 MB / 0.7526 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003166/1.236, allocations: 0.6286 MB / 0.7532 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/1.247, allocations: 4.353 MB / 0.7574 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.248, allocations: 4 kB / 0.7574 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.221e-06/1.248, allocations: 0 / 0.7574 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003567/1.248, allocations: 0 / 0.7574 GB, free: 13.46 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01988/1.268, allocations: 3.843 MB / 0.7612 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001055/1.268, allocations: 8.031 kB / 0.7612 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003539/1.271, allocations: 455.1 kB / 0.7616 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/1.296, allocations: 2.882 MB / 0.7644 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.308, allocations: 2.159 MB / 0.7666 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/1.308, allocations: 238.5 kB / 0.7668 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/1.311, allocations: 320 kB / 0.7671 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/1.34, allocations: 5.136 MB / 0.7721 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/1.34, allocations: 7.922 kB / 0.7721 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/1.341, allocations: 136 kB / 0.7722 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.342, allocations: 84 kB / 0.7723 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02798/1.37, allocations: 6.342 MB / 0.7785 GB, free: 7.621 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.05404/1.424, allocations: 14.57 MB / 0.7927 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/1.443, allocations: 4.567 MB / 0.7972 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.445, allocations: 0.6697 MB / 0.7979 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01085/1.456, allocations: 2.458 MB / 0.8003 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=270): time 1.381e-05/1.456, allocations: 4 kB / 0.8003 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=270): time 0.03528/1.491, allocations: 7.514 MB / 0.8076 GB, free: 9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/1.491, allocations: 214 kB / 0.8078 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/1.497, allocations: 2.394 MB / 0.8101 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/1.498, allocations: 73.7 kB / 0.8102 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/1.501, allocations: 1.365 MB / 0.8115 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002693/1.503, allocations: 0.901 MB / 0.8124 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/1.504, allocations: 44 kB / 0.8125 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0004546/1.504, allocations: 402.8 kB / 0.8128 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008766/1.513, allocations: 1.944 MB / 0.8147 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7467/2.26, allocations: 2.257 MB / 0.817 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/2.27, allocations: 2.101 MB / 0.819 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-05/2.271, allocations: 0.7812 kB / 0.819 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.02655/2.297, allocations: 4.909 MB / 0.8238 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/2.297, allocations: 7.75 kB / 0.8238 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/2.297, allocations: 4.281 kB / 0.8238 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/2.299, allocations: 340.8 kB / 0.8241 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009046/2.308, allocations: 0.8118 MB / 0.8249 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/2.32, allocations: 4.01 MB / 0.8288 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/2.327, allocations: 0.5482 MB / 0.8294 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/2.329, allocations: 107.2 kB / 0.8295 GB, free: 207.3 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 (270): * Single equations (assignments): 269 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005851/2.335, allocations: 0.9247 MB / 0.8304 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/2.337, allocations: 268.5 kB / 0.8306 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03574/2.372, allocations: 5.574 MB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.562e-05/2.373, allocations: 27.91 kB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.88e-05/2.373, allocations: 6.422 kB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/2.373, allocations: 12.42 kB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/2.413, allocations: 9.308 MB / 0.8452 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/2.414, allocations: 4 kB / 0.8452 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008538/2.422, allocations: 0.7715 MB / 0.846 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/2.425, allocations: 376.7 kB / 0.8463 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/2.426, allocations: 83.23 kB / 0.8464 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009968/2.436, allocations: 5.893 MB / 0.8522 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.436, allocations: 0 / 0.8522 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03058/2.466, allocations: 7.924 MB / 0.8599 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004215/2.471, allocations: 0.8442 MB / 0.8607 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/2.472, allocations: 55.98 kB / 0.8608 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005989/2.478, allocations: 426.6 kB / 0.8612 GB, free: 186.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008527/2.479, allocations: 178 kB / 0.8614 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004596/2.479, allocations: 99.92 kB / 0.8615 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004453/2.484, allocations: 1.745 MB / 0.8632 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.42e-07/2.484, allocations: 0 / 0.8632 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007578/2.492, allocations: 1.028 MB / 0.8642 GB, free: 183.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03369/2.525, allocations: 9.402 MB / 0.8733 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01766/2.543, allocations: 4.758 MB / 0.878 GB, free: 169.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.543, allocations: 4 kB / 0.878 GB, free: 169.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00952/2.553, allocations: 2.769 MB / 0.8807 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/2.558, allocations: 0.5721 MB / 0.8813 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08583/2.644, allocations: 27.37 MB / 0.908 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004009/2.648, allocations: 2.521 MB / 0.9104 GB, free: 135 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.009063/2.657, allocations: 1.117 MB / 0.9115 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005096/2.662, allocations: 1.44 MB / 0.9129 GB, free: 132.5 MB / 0.6387 GB Notification: Performance of SimCode: time 2.334e-06/2.662, allocations: 0 / 0.9129 GB, free: 132.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1815/2.844, allocations: 69.41 MB / 0.9807 GB, free: 63.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/2.844, allocations: 259.5 kB / 0.981 GB, free: 63.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.379/9.223, allocations: 0 / 0.981 GB, free: 63.32 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: