Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001249/0.001249, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001548/0.001549, allocations: 192.9 kB / 16.14 MB, free: 6.707 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.98 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1801, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5216/0.7017, allocations: 157.8 MB / 0.7379 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03352/0.7353, allocations: 26.43 MB / 0.7637 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/0.7388, allocations: 63.62 kB / 0.7637 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.741, allocations: 0.8829 MB / 0.7646 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.7462, allocations: 1.451 MB / 0.766 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.7505, allocations: 1.459 MB / 0.7674 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005669/0.7562, allocations: 4.779 MB / 0.7721 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004862/0.761, allocations: 3.693 MB / 0.7757 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.7634, allocations: 1.599 MB / 0.7773 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.7662, allocations: 2.183 MB / 0.7794 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005322/0.7668, allocations: 228 kB / 0.7796 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.7687, allocations: 0.8272 MB / 0.7804 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008336/0.7695, allocations: 0.8952 MB / 0.7813 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.7714, allocations: 1.713 MB / 0.783 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.7763, allocations: 5.23 MB / 0.7881 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.7764, allocations: 0 / 0.7881 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.7764, allocations: 0 / 0.7881 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.646e-05/0.7765, allocations: 0 / 0.7881 GB, free: 11.85 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008213/0.7847, allocations: 4.311 MB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7847, allocations: 11.97 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005502/0.7853, allocations: 442.2 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.7988, allocations: 2.749 MB / 0.7954 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/0.8032, allocations: 2.191 MB / 0.7976 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.8034, allocations: 230.2 kB / 0.7978 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/0.8039, allocations: 300 kB / 0.7981 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.8144, allocations: 4.959 MB / 0.8029 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.936e-05/0.8145, allocations: 3.938 kB / 0.8029 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/0.8148, allocations: 128 kB / 0.803 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.8149, allocations: 79.94 kB / 0.8031 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.8285, allocations: 6.103 MB / 0.8091 GB, free: 6.121 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.02521/0.8537, allocations: 13.63 MB / 0.8224 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/0.8635, allocations: 4.348 MB / 0.8266 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/0.8685, allocations: 2.315 MB / 0.8289 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009875/0.8695, allocations: 0.6774 MB / 0.8295 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005486/0.875, allocations: 2.374 MB / 0.8319 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 5.26e-06/0.875, allocations: 0 / 0.8319 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01731/0.8924, allocations: 6.939 MB / 0.8386 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.8925, allocations: 206.1 kB / 0.8388 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.8965, allocations: 2.307 MB / 0.8411 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.8969, allocations: 73.7 kB / 0.8412 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.8981, allocations: 1.305 MB / 0.8424 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.8991, allocations: 0.8471 MB / 0.8433 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.9002, allocations: 464 kB / 0.8437 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9003, allocations: 301.1 kB / 0.844 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/0.9048, allocations: 1.874 MB / 0.8458 GB, free: 15.63 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.9097, allocations: 2.18 MB / 0.848 GB, free: 13.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009024/0.9187, allocations: 4.045 MB / 0.8519 GB, free: 9.223 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.9187, allocations: 0 / 0.8519 GB, free: 9.223 MB / 0.67 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01082/0.9296, allocations: 4.647 MB / 0.8564 GB, free: 4.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.9296, allocations: 8 kB / 0.8564 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.9296, allocations: 4 kB / 0.8565 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.9303, allocations: 243.1 kB / 0.8567 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.9341, allocations: 0.7566 MB / 0.8574 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.9383, allocations: 3.095 MB / 0.8604 GB, free: 288 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3244/1.263, allocations: 0.5333 MB / 0.861 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006301/1.263, allocations: 102.3 kB / 0.8611 GB, free: 215.4 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001908/1.265, allocations: 0.884 MB / 0.8619 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/1.266, allocations: 256.4 kB / 0.8622 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.277, allocations: 5.275 MB / 0.8673 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/1.277, allocations: 25.44 kB / 0.8673 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.277, allocations: 2.938 kB / 0.8674 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.277, allocations: 13.78 kB / 0.8674 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.292, allocations: 8.822 MB / 0.876 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.292, allocations: 2.844 kB / 0.876 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.296, allocations: 0.7169 MB / 0.8767 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/1.296, allocations: 263 kB / 0.8769 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/1.297, allocations: 75.03 kB / 0.877 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/1.301, allocations: 4.804 MB / 0.8817 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.301, allocations: 0 / 0.8817 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/1.316, allocations: 7.533 MB / 0.8891 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.318, allocations: 0.7745 MB / 0.8898 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/1.318, allocations: 57.5 kB / 0.8899 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.321, allocations: 407.3 kB / 0.8903 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/1.322, allocations: 164.6 kB / 0.8904 GB, free: 204.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.322, allocations: 92.25 kB / 0.8905 GB, free: 204.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002744/1.325, allocations: 1.689 MB / 0.8921 GB, free: 204.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.325, allocations: 0 / 0.8921 GB, free: 204.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004464/1.329, allocations: 0.9617 MB / 0.8931 GB, free: 203.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02278/1.352, allocations: 9.006 MB / 0.9019 GB, free: 200.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.366, allocations: 4.545 MB / 0.9063 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.366, allocations: 0 / 0.9063 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007642/1.374, allocations: 2.61 MB / 0.9089 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.379, allocations: 0.5924 MB / 0.9094 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07614/1.455, allocations: 31.69 MB / 0.9404 GB, free: 180.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.459, allocations: 2.37 MB / 0.9427 GB, free: 178.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005598/1.464, allocations: 1.091 MB / 0.9438 GB, free: 177 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/1.468, allocations: 1.366 MB / 0.9451 GB, free: 175.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.342e-06/1.468, allocations: 0 / 0.9451 GB, free: 175.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7586/2.226, allocations: 63.68 MB / 1.007 GB, free: 112.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/2.226, allocations: 290 kB / 1.008 GB, free: 112.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/6.048, allocations: 0 / 1.008 GB, free: 112.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)