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.001388/0.001388, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001246/0.001246, allocations: 201 kB / 16.26 MB, free: 6.617 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7412/0.7412, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 72.38 kB / 0.5014 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1897, allocations: 80.2 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5115/0.7013, allocations: 158.5 MB / 0.7345 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04008/0.7414, allocations: 26.44 MB / 0.7603 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004928/0.7464, allocations: 71.62 kB / 0.7604 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.7497, allocations: 0.9179 MB / 0.7613 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006481/0.7562, allocations: 1.527 MB / 0.7628 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.7614, allocations: 1.518 MB / 0.7643 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007256/0.7687, allocations: 4.819 MB / 0.769 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007196/0.7759, allocations: 4.274 MB / 0.7731 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.7811, allocations: 2.021 MB / 0.7751 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.7857, allocations: 2.491 MB / 0.7775 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.7875, allocations: 452 kB / 0.778 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.7911, allocations: 1.027 MB / 0.779 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.7934, allocations: 1.176 MB / 0.7801 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003934/0.7973, allocations: 2.041 MB / 0.7821 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009443/0.8068, allocations: 5.694 MB / 0.7877 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.8069, allocations: 4 kB / 0.7877 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8069, allocations: 0 / 0.7877 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002782/0.8071, allocations: 0 / 0.7877 GB, free: 13.93 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01204/0.8192, allocations: 4.487 MB / 0.7921 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8193, allocations: 12.02 kB / 0.7921 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000659/0.8199, allocations: 455.1 kB / 0.7925 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.8336, allocations: 2.776 MB / 0.7952 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.8384, allocations: 2.273 MB / 0.7974 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.8386, allocations: 242.5 kB / 0.7977 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.8392, allocations: 312 kB / 0.798 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.8515, allocations: 5.136 MB / 0.803 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.488e-05/0.8516, allocations: 0 / 0.803 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.852, allocations: 136 kB / 0.8031 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.852, allocations: 83.94 kB / 0.8032 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.8668, allocations: 6.291 MB / 0.8093 GB, free: 7.492 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.02888/0.8957, allocations: 14.51 MB / 0.8235 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.9065, allocations: 4.51 MB / 0.8279 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/0.9119, allocations: 2.459 MB / 0.8303 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.913, allocations: 0.6697 MB / 0.831 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006035/0.9191, allocations: 2.466 MB / 0.8334 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.35e-06/0.9191, allocations: 3.938 kB / 0.8334 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01973/0.9389, allocations: 7.535 MB / 0.8407 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.939, allocations: 206 kB / 0.8409 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.9432, allocations: 2.393 MB / 0.8433 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005633/0.9438, allocations: 73.7 kB / 0.8433 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.9452, allocations: 1.361 MB / 0.8447 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.9465, allocations: 0.8932 MB / 0.8455 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.9482, allocations: 476.4 kB / 0.846 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9483, allocations: 313.1 kB / 0.8463 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/0.9533, allocations: 1.948 MB / 0.8482 GB, free: 14.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005161/0.9585, allocations: 2.264 MB / 0.8504 GB, free: 12.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/0.9684, allocations: 4.207 MB / 0.8545 GB, free: 8.086 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.9685, allocations: 0 / 0.8545 GB, free: 8.086 MB / 0.67 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0126/0.9811, allocations: 4.907 MB / 0.8593 GB, free: 3.125 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.9812, allocations: 14.44 kB / 0.8593 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.9812, allocations: 4 kB / 0.8593 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009275/0.9821, allocations: 340.7 kB / 0.8596 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/0.9864, allocations: 0.78 MB / 0.8604 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2604/1.247, allocations: 4.24 MB / 0.8646 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/1.251, allocations: 0.5509 MB / 0.8651 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/1.251, allocations: 99.78 kB / 0.8652 GB, free: 217.7 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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 (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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002452/1.254, allocations: 0.9284 MB / 0.8661 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009671/1.255, allocations: 268.2 kB / 0.8663 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.266, allocations: 5.544 MB / 0.8718 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.266, allocations: 25.91 kB / 0.8718 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.266, allocations: 9.562 kB / 0.8718 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/1.266, allocations: 13.73 kB / 0.8718 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.281, allocations: 9.296 MB / 0.8809 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/1.281, allocations: 0 / 0.8809 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/1.284, allocations: 0.7305 MB / 0.8816 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/1.285, allocations: 387.8 kB / 0.882 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.286, allocations: 71.91 kB / 0.882 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/1.29, allocations: 6.298 MB / 0.8882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.29, allocations: 3.422 kB / 0.8882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.305, allocations: 7.905 MB / 0.8959 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.307, allocations: 0.814 MB / 0.8967 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004514/1.307, allocations: 58.31 kB / 0.8968 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.31, allocations: 410.6 kB / 0.8972 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/1.31, allocations: 177.3 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.31, allocations: 97.36 kB / 0.8974 GB, free: 204.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002279/1.313, allocations: 1.743 MB / 0.8991 GB, free: 204.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.313, allocations: 0 / 0.8991 GB, free: 204.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002582/1.315, allocations: 1.024 MB / 0.9001 GB, free: 204.1 MB / 0.67 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 (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): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/1.334, allocations: 9.413 MB / 0.9093 GB, free: 200.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02005/1.354, allocations: 8.099 MB / 0.9172 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.354, allocations: 2.812 kB / 0.9172 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006129/1.36, allocations: 2.761 MB / 0.9199 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.364, allocations: 0.6665 MB / 0.9206 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05655/1.42, allocations: 33.39 MB / 0.9532 GB, free: 171.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.422, allocations: 2.451 MB / 0.9556 GB, free: 169.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004084/1.426, allocations: 1.106 MB / 0.9566 GB, free: 168.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/1.428, allocations: 1.436 MB / 0.9581 GB, free: 166.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/1.428, allocations: 4 kB / 0.9581 GB, free: 166.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5336/1.962, allocations: 68.75 MB / 1.025 GB, free: 98.65 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/1.962, allocations: 299.4 kB / 1.025 GB, free: 98.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.991/5.953, allocations: 64 / 1.025 GB, free: 98.27 MB / 0.67 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/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)