Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.0008583/0.0008583, allocations: 86.95 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.001167/0.001167, 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8 kB / 0.5071 GB, free: 4.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 82.32 MB / 0.5875 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5886/0.7867, allocations: 146.6 MB / 0.7306 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03921/0.8259, allocations: 25.17 MB / 0.7552 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005942/0.8319, allocations: 69.62 kB / 0.7552 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.8346, allocations: 0.9057 MB / 0.7561 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.8402, allocations: 1.492 MB / 0.7576 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.8448, allocations: 1.281 MB / 0.7588 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007312/0.8521, allocations: 4.86 MB / 0.7636 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008211/0.8603, allocations: 3.118 MB / 0.7666 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.8649, allocations: 1.427 MB / 0.768 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.8693, allocations: 1.937 MB / 0.7699 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.8705, allocations: 120 kB / 0.77 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.8737, allocations: 0.6165 MB / 0.7706 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.8755, allocations: 0.7703 MB / 0.7714 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.8772, allocations: 0.6793 MB / 0.772 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.8842, allocations: 4.672 MB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.8843, allocations: 0 / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8843, allocations: 4 kB / 0.7766 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002694/0.8845, allocations: 0 / 0.7766 GB, free: 10.41 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01159/0.8962, allocations: 4.069 MB / 0.7806 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.8962, allocations: 12.03 kB / 0.7806 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00189/0.8981, allocations: 488.5 kB / 0.7811 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.9113, allocations: 2.909 MB / 0.7839 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.918, allocations: 2.295 MB / 0.7861 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.9183, allocations: 254.9 kB / 0.7864 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.9197, allocations: 343.9 kB / 0.7867 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.9358, allocations: 5.397 MB / 0.792 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.9359, allocations: 7.906 kB / 0.792 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.937, allocations: 140 kB / 0.7921 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.495e-05/0.9371, allocations: 84 kB / 0.7922 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.9544, allocations: 6.594 MB / 0.7987 GB, free: 3.602 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.03328/0.9878, allocations: 15.75 MB / 0.814 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008994/0.9968, allocations: 4.08 MB / 0.818 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00626/1.003, allocations: 2.749 MB / 0.8207 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.004, allocations: 0.6697 MB / 0.8214 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005875/1.01, allocations: 2.577 MB / 0.8239 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 4.728e-06/1.01, allocations: 0 / 0.8239 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02222/1.033, allocations: 8.332 MB / 0.832 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.033, allocations: 218.2 kB / 0.8322 GB, free: 284 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/1.038, allocations: 2.494 MB / 0.8346 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006342/1.039, allocations: 77.7 kB / 0.8347 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/1.04, allocations: 1.436 MB / 0.8361 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.042, allocations: 0.9548 MB / 0.8371 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/1.042, allocations: 48 kB / 0.8371 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000263/1.043, allocations: 411 kB / 0.8375 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004784/1.047, allocations: 2.038 MB / 0.8395 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005222/1.053, allocations: 2.355 MB / 0.8418 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/1.058, allocations: 2.2 MB / 0.8439 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.058, allocations: 4 kB / 0.8439 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01334/1.071, allocations: 5.266 MB / 0.8491 GB, free: 14.78 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/1.071, allocations: 4 kB / 0.8491 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.071, allocations: 4 kB / 0.8491 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.073, allocations: 0.5428 MB / 0.8496 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/1.077, allocations: 0.7878 MB / 0.8504 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007909/1.085, allocations: 5.295 MB / 0.8556 GB, free: 8.008 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/1.089, allocations: 0.5748 MB / 0.8561 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007962/1.09, allocations: 111.9 kB / 0.8562 GB, free: 7.324 MB / 0.67 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 (274): * Single equations (assignments): 273 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003077/1.093, allocations: 0.9662 MB / 0.8572 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.094, allocations: 292.4 kB / 0.8574 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.109, allocations: 5.899 MB / 0.8632 GB, free: 100 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/1.109, allocations: 28 kB / 0.8632 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.109, allocations: 11.95 kB / 0.8632 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/1.109, allocations: 15.94 kB / 0.8633 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4502/1.56, allocations: 9.877 MB / 0.8729 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.56, allocations: 0 / 0.8729 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/1.563, allocations: 0.7523 MB / 0.8736 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/1.564, allocations: 0.5282 MB / 0.8742 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/1.564, allocations: 80.8 kB / 0.8742 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006721/1.571, allocations: 6.942 MB / 0.881 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.571, allocations: 0 / 0.881 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.587, allocations: 8.387 MB / 0.8892 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.589, allocations: 0.8875 MB / 0.8901 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004927/1.59, allocations: 51.72 kB / 0.8901 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.592, allocations: 435.6 kB / 0.8905 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/1.593, allocations: 194.5 kB / 0.8907 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.593, allocations: 102.6 kB / 0.8908 GB, free: 202.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002354/1.595, allocations: 1.81 MB / 0.8926 GB, free: 201.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/1.596, allocations: 3.938 kB / 0.8926 GB, free: 201.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003578/1.599, allocations: 1.106 MB / 0.8937 GB, free: 201.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02109/1.62, allocations: 9.857 MB / 0.9033 GB, free: 197.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.633, allocations: 5.065 MB / 0.9082 GB, free: 196.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.633, allocations: 5.094 kB / 0.9082 GB, free: 196.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006826/1.64, allocations: 2.948 MB / 0.9111 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.644, allocations: 0.6535 MB / 0.9118 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05937/1.703, allocations: 26.89 MB / 0.938 GB, free: 181.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.706, allocations: 2.558 MB / 0.9405 GB, free: 180.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004399/1.711, allocations: 1.128 MB / 0.9416 GB, free: 179.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/1.713, allocations: 1.526 MB / 0.9431 GB, free: 178.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.413e-06/1.713, allocations: 4 kB / 0.9431 GB, free: 178.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.825, allocations: 74.08 MB / 1.015 GB, free: 104.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.826, allocations: 271.5 kB / 1.016 GB, free: 104.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/5.816, allocations: 0 / 1.016 GB, free: 104.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: