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.008172/0.008172, allocations: 101.8 kB / 15.73 MB, free: 6.039 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.001599/0.001599, allocations: 194.5 kB / 16.67 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8559/0.8559, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.47 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6068/0.7633, allocations: 160.8 MB / 0.8162 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0334/0.7968, allocations: 26.78 MB / 0.8423 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004262/0.8011, allocations: 71.72 kB / 0.8424 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.804, allocations: 1.014 MB / 0.8434 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006483/0.8105, allocations: 1.699 MB / 0.845 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006302/0.8168, allocations: 1.708 MB / 0.8467 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007209/0.824, allocations: 4.837 MB / 0.8514 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.83, allocations: 4.252 MB / 0.8556 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.8349, allocations: 2.049 MB / 0.8576 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.8392, allocations: 2.446 MB / 0.86 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.8407, allocations: 448 kB / 0.8604 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.844, allocations: 1.05 MB / 0.8614 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.8454, allocations: 1.172 MB / 0.8626 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.8489, allocations: 2.033 MB / 0.8646 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.857, allocations: 5.81 MB / 0.8702 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.857, allocations: 0 / 0.8702 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.024e-06/0.857, allocations: 4 kB / 0.8702 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001356/0.8571, allocations: 0 / 0.8702 GB, free: 13.87 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.009718/0.8669, allocations: 4.487 MB / 0.8746 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.8669, allocations: 15.91 kB / 0.8746 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006009/0.8675, allocations: 455.1 kB / 0.8751 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/0.8843, allocations: 2.772 MB / 0.8778 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.8899, allocations: 2.29 MB / 0.88 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.8903, allocations: 242.5 kB / 0.8802 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007444/0.891, allocations: 312 kB / 0.8805 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.902, allocations: 5.144 MB / 0.8856 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.9021, allocations: 3.906 kB / 0.8856 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.9025, allocations: 132 kB / 0.8857 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.9025, allocations: 83.94 kB / 0.8858 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.9177, allocations: 6.292 MB / 0.8919 GB, free: 7.402 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.03235/0.9501, allocations: 14.42 MB / 0.906 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.9614, allocations: 4.517 MB / 0.9104 GB, free: 3.934 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00556/0.967, allocations: 2.45 MB / 0.9128 GB, free: 1.473 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.9683, allocations: 0.6658 MB / 0.9134 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006002/0.9743, allocations: 2.465 MB / 0.9159 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 7.304e-06/0.9743, allocations: 112 / 0.9159 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01914/0.9935, allocations: 7.539 MB / 0.9232 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.9936, allocations: 214 kB / 0.9234 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.9977, allocations: 2.397 MB / 0.9258 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/0.9981, allocations: 73.7 kB / 0.9258 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.9995, allocations: 1.353 MB / 0.9272 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.001, allocations: 0.8971 MB / 0.928 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/1.002, allocations: 476.4 kB / 0.9285 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.002, allocations: 305.1 kB / 0.9288 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004805/1.007, allocations: 1.948 MB / 0.9307 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/1.012, allocations: 2.275 MB / 0.9329 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/1.022, allocations: 4.199 MB / 0.937 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.022, allocations: 0 / 0.937 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01241/1.034, allocations: 4.911 MB / 0.9418 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.034, allocations: 8 kB / 0.9418 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.034, allocations: 4 kB / 0.9418 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000938/1.035, allocations: 350.1 kB / 0.9421 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/1.039, allocations: 0.7683 MB / 0.9429 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/1.045, allocations: 4.243 MB / 0.947 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/1.049, allocations: 0.5284 MB / 0.9476 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/1.05, allocations: 111.9 kB / 0.9477 GB, free: 12.98 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.002612/1.052, allocations: 0.9232 MB / 0.9486 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.053, allocations: 268.6 kB / 0.9488 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.069, allocations: 5.538 MB / 0.9542 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/1.069, allocations: 31.98 kB / 0.9543 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/1.069, allocations: 4 kB / 0.9543 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/1.069, allocations: 11.95 kB / 0.9543 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.09, allocations: 9.302 MB / 0.9634 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.09, allocations: 4 kB / 0.9634 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/1.093, allocations: 0.7333 MB / 0.9641 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/1.095, allocations: 382.2 kB / 0.9644 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/1.095, allocations: 79.94 kB / 0.9645 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/1.102, allocations: 6.297 MB / 0.9707 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.102, allocations: 0 / 0.9707 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.119, allocations: 7.923 MB / 0.9784 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.121, allocations: 0.8015 MB / 0.9792 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000785/1.122, allocations: 59.84 kB / 0.9792 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.125, allocations: 395.4 kB / 0.9796 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005225/1.126, allocations: 177.9 kB / 0.9798 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003569/1.126, allocations: 99.92 kB / 0.9799 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003077/1.129, allocations: 1.749 MB / 0.9816 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.129, allocations: 0 / 0.9816 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003553/1.133, allocations: 1.013 MB / 0.9826 GB, free: 8.555 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.02038/1.153, allocations: 9.41 MB / 0.9918 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.164, allocations: 4.777 MB / 0.9964 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.164, allocations: 0 / 0.9964 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005929/1.17, allocations: 2.758 MB / 0.9991 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.173, allocations: 0.6824 MB / 0.9998 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06588/1.239, allocations: 28.92 MB / 1.028 GB, free: 9.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/1.242, allocations: 2.452 MB / 1.03 GB, free: 7.434 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00451/1.247, allocations: 1.095 MB / 1.032 GB, free: 6.336 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002982/1.25, allocations: 1.44 MB / 1.033 GB, free: 4.895 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/1.25, allocations: 3.938 kB / 1.033 GB, free: 4.891 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.795, allocations: 70.05 MB / 1.101 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.65, allocations: 10.08 kB / 1.101 GB, free: 285.8 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)