Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_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.001036/0.001036, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00773/0.00773, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9473/0.9473, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5807/0.7638, allocations: 156.2 MB / 0.7406 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04107/0.8049, allocations: 26.3 MB / 0.7663 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.8094, allocations: 67.62 kB / 0.7664 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.8124, allocations: 0.8984 MB / 0.7672 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.8192, allocations: 1.519 MB / 0.7687 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.8246, allocations: 1.499 MB / 0.7702 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008105/0.8327, allocations: 5.051 MB / 0.7751 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006629/0.8394, allocations: 3.502 MB / 0.7785 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.843, allocations: 1.357 MB / 0.7799 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.8468, allocations: 1.902 MB / 0.7817 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.848, allocations: 104 kB / 0.7818 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.8514, allocations: 0.7062 MB / 0.7825 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.853, allocations: 0.7506 MB / 0.7832 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003599/0.8567, allocations: 1.558 MB / 0.7848 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.8652, allocations: 5.314 MB / 0.7899 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8652, allocations: 4 kB / 0.7899 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8652, allocations: 0 / 0.7899 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002599/0.8655, allocations: 0 / 0.7899 GB, free: 12.88 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.01067/0.8762, allocations: 3.81 MB / 0.7937 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8763, allocations: 12.03 kB / 0.7937 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001788/0.878, allocations: 455.1 kB / 0.7941 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.8924, allocations: 2.885 MB / 0.7969 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.8976, allocations: 2.268 MB / 0.7991 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.8978, allocations: 242.5 kB / 0.7994 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009014/0.8987, allocations: 315.9 kB / 0.7997 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.9114, allocations: 5.187 MB / 0.8047 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.9116, allocations: 7.938 kB / 0.8048 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.9119, allocations: 132 kB / 0.8049 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.912, allocations: 79.94 kB / 0.805 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.9284, allocations: 6.377 MB / 0.8112 GB, free: 6.867 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.02973/0.9582, allocations: 14.56 MB / 0.8254 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.9693, allocations: 4.518 MB / 0.8298 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005803/0.9751, allocations: 2.462 MB / 0.8322 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.9762, allocations: 0.6737 MB / 0.8329 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005814/0.982, allocations: 2.466 MB / 0.8353 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.12e-06/0.9821, allocations: 0 / 0.8353 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.0205/1.003, allocations: 7.582 MB / 0.8427 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.003, allocations: 206 kB / 0.8429 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/1.007, allocations: 2.39 MB / 0.8452 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005817/1.008, allocations: 69.7 kB / 0.8453 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.009, allocations: 1.365 MB / 0.8466 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.011, allocations: 0.8971 MB / 0.8475 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/1.011, allocations: 190.4 kB / 0.8477 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.011, allocations: 305.1 kB / 0.848 GB, free: 264 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/1.016, allocations: 1.952 MB / 0.8499 GB, free: 14.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/1.021, allocations: 2.271 MB / 0.8521 GB, free: 11.94 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.032, allocations: 4.219 MB / 0.8562 GB, free: 7.633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.032, allocations: 0 / 0.8562 GB, free: 7.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01341/1.045, allocations: 4.923 MB / 0.861 GB, free: 2.656 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/1.045, allocations: 12.03 kB / 0.861 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/1.045, allocations: 4 kB / 0.861 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/1.046, allocations: 333.2 kB / 0.8613 GB, free: 2.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.05, allocations: 0.78 MB / 0.8621 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3192/1.37, allocations: 3.918 MB / 0.8659 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.374, allocations: 0.5505 MB / 0.8665 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005187/1.374, allocations: 103.4 kB / 0.8666 GB, free: 210.9 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.002066/1.376, allocations: 0.9216 MB / 0.8675 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/1.377, allocations: 272.1 kB / 0.8677 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.39, allocations: 5.568 MB / 0.8732 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.39, allocations: 29.03 kB / 0.8732 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.39, allocations: 3.438 kB / 0.8732 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/1.39, allocations: 13.59 kB / 0.8732 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.406, allocations: 9.302 MB / 0.8823 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.406, allocations: 0 / 0.8823 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/1.409, allocations: 0.7302 MB / 0.883 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009853/1.41, allocations: 390.1 kB / 0.8834 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/1.411, allocations: 73.7 kB / 0.8835 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005006/1.416, allocations: 5.795 MB / 0.8891 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.416, allocations: 0 / 0.8891 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/1.432, allocations: 7.941 MB / 0.8969 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.434, allocations: 0.8415 MB / 0.8977 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006802/1.435, allocations: 51.39 kB / 0.8977 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.438, allocations: 427.9 kB / 0.8981 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.439, allocations: 179.3 kB / 0.8983 GB, free: 199.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.439, allocations: 91.36 kB / 0.8984 GB, free: 199.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003391/1.442, allocations: 1.748 MB / 0.9001 GB, free: 198.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.8e-07/1.442, allocations: 0 / 0.9001 GB, free: 198.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003842/1.446, allocations: 1.018 MB / 0.9011 GB, free: 198.6 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.02229/1.468, allocations: 9.428 MB / 0.9103 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.484, allocations: 4.778 MB / 0.915 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.484, allocations: 1 kB / 0.915 GB, free: 193.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/1.499, allocations: 2.767 MB / 0.9177 GB, free: 192.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008928/1.508, allocations: 0.6364 MB / 0.9183 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0698/1.578, allocations: 33.53 MB / 0.951 GB, free: 170.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/1.58, allocations: 2.448 MB / 0.9534 GB, free: 167.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004274/1.584, allocations: 1.103 MB / 0.9545 GB, free: 166.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/1.586, allocations: 1.44 MB / 0.9559 GB, free: 165 MB / 0.67 GB Notification: Performance of SimCode: time 1.533e-06/1.586, allocations: 0 / 0.9559 GB, free: 165 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09371/1.68, allocations: 66.15 MB / 1.021 GB, free: 99.41 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.68, allocations: 286.7 kB / 1.021 GB, free: 99.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/6.049, allocations: 0 / 1.021 GB, free: 99.03 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)