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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.00129, allocations: 111.3 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.001139/0.001139, allocations: 196 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.84 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2041, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5278/0.732, allocations: 157.8 MB / 0.7378 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03973/0.7718, allocations: 26.43 MB / 0.7636 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004957/0.7768, allocations: 67.69 kB / 0.7636 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.7798, allocations: 0.8712 MB / 0.7645 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006187/0.786, allocations: 1.451 MB / 0.7659 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.791, allocations: 1.455 MB / 0.7673 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007015/0.7981, allocations: 4.786 MB / 0.772 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005495/0.8036, allocations: 3.697 MB / 0.7756 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.807, allocations: 1.591 MB / 0.7772 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00381/0.8109, allocations: 2.179 MB / 0.7793 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008288/0.8117, allocations: 228 kB / 0.7795 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.8144, allocations: 0.8311 MB / 0.7803 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009598/0.8154, allocations: 0.8991 MB / 0.7812 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.8178, allocations: 1.701 MB / 0.7829 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006531/0.8243, allocations: 5.242 MB / 0.788 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8244, allocations: 0 / 0.788 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8244, allocations: 0 / 0.788 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001525/0.8245, allocations: 0 / 0.788 GB, free: 12.01 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.01099/0.8355, allocations: 4.295 MB / 0.7922 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.8356, allocations: 12.03 kB / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.8497, allocations: 2.753 MB / 0.7949 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.8549, allocations: 2.184 MB / 0.797 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.8551, allocations: 226.2 kB / 0.7972 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008704/0.856, allocations: 304 kB / 0.7975 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.8681, allocations: 4.967 MB / 0.8024 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/0.8682, allocations: 4 kB / 0.8024 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.8686, allocations: 124 kB / 0.8025 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.8686, allocations: 79.94 kB / 0.8026 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.8841, allocations: 6.107 MB / 0.8085 GB, free: 6.746 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.02751/0.9117, allocations: 13.63 MB / 0.8218 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.9217, allocations: 4.36 MB / 0.8261 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005141/0.9269, allocations: 2.312 MB / 0.8284 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/0.9278, allocations: 0.6656 MB / 0.829 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005289/0.9332, allocations: 2.366 MB / 0.8313 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 4.969e-06/0.9332, allocations: 0 / 0.8313 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01701/0.9502, allocations: 6.954 MB / 0.8381 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.9503, allocations: 210 kB / 0.8383 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.9535, allocations: 2.299 MB / 0.8406 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.9538, allocations: 69.7 kB / 0.8406 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.955, allocations: 1.298 MB / 0.8419 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/0.9559, allocations: 0.851 MB / 0.8427 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008663/0.9568, allocations: 484.1 kB / 0.8432 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9569, allocations: 305.1 kB / 0.8435 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004366/0.9613, allocations: 1.89 MB / 0.8453 GB, free: 224 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/0.9661, allocations: 2.193 MB / 0.8475 GB, free: 13.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009182/0.9753, allocations: 4.065 MB / 0.8514 GB, free: 9.793 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.9753, allocations: 0 / 0.8514 GB, free: 9.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01155/0.9869, allocations: 4.699 MB / 0.856 GB, free: 5.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.9869, allocations: 7.938 kB / 0.856 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.987, allocations: 4 kB / 0.856 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/0.9877, allocations: 230.8 kB / 0.8563 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/0.9916, allocations: 0.7762 MB / 0.857 GB, free: 4.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.9959, allocations: 3.103 MB / 0.86 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.9999, allocations: 0.5325 MB / 0.8606 GB, free: 256 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/1, allocations: 107.9 kB / 0.8607 GB, free: 148 kB / 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: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (272): * Single equations (assignments): 271 * 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.3852/1.386, allocations: 0.8867 MB / 0.8615 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007945/1.386, allocations: 253.2 kB / 0.8618 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.398, allocations: 5.27 MB / 0.8669 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.398, allocations: 26.16 kB / 0.8669 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.398, allocations: 3.031 kB / 0.8669 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/1.398, allocations: 13.5 kB / 0.867 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.413, allocations: 8.812 MB / 0.8756 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.413, allocations: 4.781 kB / 0.8756 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.417, allocations: 0.7257 MB / 0.8763 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/1.418, allocations: 262.1 kB / 0.8765 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/1.418, allocations: 73.64 kB / 0.8766 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/1.422, allocations: 4.801 MB / 0.8813 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.422, allocations: 0 / 0.8813 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.437, allocations: 7.535 MB / 0.8886 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.439, allocations: 0.7723 MB / 0.8894 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008234/1.44, allocations: 57.41 kB / 0.8895 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/1.443, allocations: 405.4 kB / 0.8898 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/1.444, allocations: 165 kB / 0.89 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/1.444, allocations: 92.42 kB / 0.8901 GB, free: 205.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003107/1.447, allocations: 1.686 MB / 0.8917 GB, free: 204.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.954e-06/1.447, allocations: 0 / 0.8917 GB, free: 204.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003751/1.451, allocations: 0.9778 MB / 0.8927 GB, free: 204.4 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.002807/1.454, allocations: 1.011 MB / 0.8937 GB, free: 204.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.465, allocations: 4.574 MB / 0.8981 GB, free: 202.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.465, allocations: 5.094 kB / 0.8981 GB, free: 202.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006916/1.472, allocations: 2.607 MB / 0.9007 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.477, allocations: 0.5895 MB / 0.9013 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.494, allocations: 8.932 MB / 0.91 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/1.497, allocations: 2.366 MB / 0.9123 GB, free: 196.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005544/1.503, allocations: 1.095 MB / 0.9134 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.505, allocations: 260.9 kB / 0.9136 GB, free: 195.9 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/1.505, allocations: 4 kB / 0.9136 GB, free: 195.9 MB / 0.67 GB Notification: Performance of Templates: time 0.0689/1.574, allocations: 41.77 MB / 0.9544 GB, free: 168.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (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 & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)