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.01053/0.01053, allocations: 101.8 kB / 15.73 MB, free: 5.551 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.001752/0.001752, allocations: 194.8 kB / 16.67 MB, free: 5.477 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8549/0.8549, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 61.94 kB / 0.5808 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1893, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.561/0.7504, allocations: 160.8 MB / 0.8162 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03939/0.7898, allocations: 26.78 MB / 0.8423 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004991/0.7948, allocations: 73.53 kB / 0.8424 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.7978, allocations: 1.012 MB / 0.8434 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.8036, allocations: 1.673 MB / 0.845 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.8086, allocations: 1.696 MB / 0.8467 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007332/0.8159, allocations: 4.828 MB / 0.8514 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005816/0.8218, allocations: 4.259 MB / 0.8555 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.8263, allocations: 2.014 MB / 0.8575 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005006/0.8313, allocations: 2.444 MB / 0.8599 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.8327, allocations: 448 kB / 0.8603 GB, free: 8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.836, allocations: 1.054 MB / 0.8613 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.8375, allocations: 1.172 MB / 0.8625 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006588/0.8441, allocations: 2.033 MB / 0.8645 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.8565, allocations: 5.828 MB / 0.8702 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8565, allocations: 0 / 0.8702 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8565, allocations: 0 / 0.8702 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001878/0.8567, allocations: 0 / 0.8702 GB, free: 13.88 MB / 0.6387 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.01423/0.871, allocations: 4.614 MB / 0.8747 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.8711, allocations: 8.031 kB / 0.8747 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007812/0.8719, allocations: 463 kB / 0.8751 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.8862, allocations: 2.786 MB / 0.8778 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.8922, allocations: 2.315 MB / 0.8801 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.8925, allocations: 242.5 kB / 0.8803 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.8936, allocations: 312 kB / 0.8806 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.9069, allocations: 5.144 MB / 0.8857 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-05/0.907, allocations: 7.938 kB / 0.8857 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.9074, allocations: 132 kB / 0.8858 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-05/0.9075, allocations: 83.94 kB / 0.8859 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.9247, allocations: 6.284 MB / 0.892 GB, free: 7.254 MB / 0.6544 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.03251/0.9572, allocations: 14.45 MB / 0.9061 GB, free: 8.277 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.9685, allocations: 4.516 MB / 0.9105 GB, free: 3.758 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005832/0.9744, allocations: 2.447 MB / 0.9129 GB, free: 1.301 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.9755, allocations: 0.6814 MB / 0.9136 GB, free: 500 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006436/0.982, allocations: 2.462 MB / 0.916 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.851e-06/0.982, allocations: 3.938 kB / 0.916 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.0214/1.003, allocations: 7.545 MB / 0.9234 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.004, allocations: 210 kB / 0.9236 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/1.007, allocations: 2.401 MB / 0.9259 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007712/1.008, allocations: 69.7 kB / 0.926 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.01, allocations: 1.387 MB / 0.9273 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.012, allocations: 0.9334 MB / 0.9282 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/1.013, allocations: 484.5 kB / 0.9287 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.013, allocations: 305.1 kB / 0.929 GB, free: 448 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/1.018, allocations: 1.952 MB / 0.9309 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/1.024, allocations: 2.264 MB / 0.9331 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.035, allocations: 4.203 MB / 0.9372 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.035, allocations: 0 / 0.9372 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01324/1.048, allocations: 4.928 MB / 0.942 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/1.048, allocations: 11.94 kB / 0.942 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.048, allocations: 4 kB / 0.942 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008997/1.049, allocations: 338.1 kB / 0.9424 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.053, allocations: 0.7761 MB / 0.9431 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/1.059, allocations: 4.259 MB / 0.9473 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/1.064, allocations: 0.5312 MB / 0.9478 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005793/1.064, allocations: 103.9 kB / 0.9479 GB, free: 12.7 MB / 0.7169 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.002481/1.067, allocations: 0.9354 MB / 0.9488 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/1.068, allocations: 282.2 kB / 0.9491 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/1.082, allocations: 5.542 MB / 0.9545 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.082, allocations: 27.94 kB / 0.9545 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.082, allocations: 12 kB / 0.9545 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/1.082, allocations: 19.88 kB / 0.9545 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.102, allocations: 9.295 MB / 0.9636 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.102, allocations: 0 / 0.9636 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003716/1.106, allocations: 0.7254 MB / 0.9643 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.107, allocations: 386.2 kB / 0.9647 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/1.108, allocations: 75.92 kB / 0.9648 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/1.115, allocations: 6.302 MB / 0.9709 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.115, allocations: 4 kB / 0.9709 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/1.136, allocations: 7.929 MB / 0.9787 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.138, allocations: 0.8186 MB / 0.9795 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/1.139, allocations: 64.03 kB / 0.9795 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.142, allocations: 387.4 kB / 0.9799 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.143, allocations: 193.8 kB / 0.9801 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/1.143, allocations: 91.94 kB / 0.9802 GB, free: 11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0029/1.146, allocations: 1.753 MB / 0.9819 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.146, allocations: 0 / 0.9819 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003204/1.149, allocations: 1.033 MB / 0.9829 GB, free: 8.203 MB / 0.7481 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.02347/1.173, allocations: 9.416 MB / 0.9921 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.186, allocations: 4.773 MB / 0.9968 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.186, allocations: 4.688 kB / 0.9968 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006768/1.192, allocations: 2.761 MB / 0.9995 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.196, allocations: 0.6773 MB / 1 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06995/1.266, allocations: 29.04 MB / 1.028 GB, free: 9.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.27, allocations: 2.448 MB / 1.031 GB, free: 6.953 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005799/1.275, allocations: 1.111 MB / 1.032 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003763/1.279, allocations: 1.436 MB / 1.033 GB, free: 4.402 MB / 0.795 GB Notification: Performance of SimCode: time 1.302e-06/1.279, allocations: 0 / 1.033 GB, free: 4.402 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5275/1.807, allocations: 70.05 MB / 1.102 GB, free: 285.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/19.79, allocations: 3.859 kB / 1.102 GB, free: 285.4 MB / 0.8106 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)