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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001698/0.001698, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8046/0.8046, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 63.89 kB / 0.5067 GB, free: 7.734 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3479, allocations: 80.92 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1656/0.5136, allocations: 160.8 MB / 0.7427 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.346/0.8596, allocations: 26.77 MB / 0.7689 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.8623, allocations: 73.53 kB / 0.769 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.8643, allocations: 1.015 MB / 0.7699 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.8683, allocations: 1.67 MB / 0.7716 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.8723, allocations: 1.701 MB / 0.7732 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00531/0.8776, allocations: 4.832 MB / 0.778 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004706/0.8823, allocations: 4.261 MB / 0.7821 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.8855, allocations: 2.016 MB / 0.7841 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/0.8886, allocations: 2.454 MB / 0.7865 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.8892, allocations: 449.8 kB / 0.7869 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.8912, allocations: 1.054 MB / 0.7879 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008339/0.8921, allocations: 1.164 MB / 0.7891 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.8942, allocations: 2.033 MB / 0.7911 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005824/0.9, allocations: 5.797 MB / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9001, allocations: 3.812 kB / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9001, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001152/0.9002, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.5919 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.009417/0.9096, allocations: 4.489 MB / 0.8011 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9097, allocations: 12.59 kB / 0.8011 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.9224, allocations: 2.763 MB / 0.8038 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/0.9272, allocations: 2.291 MB / 0.8061 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.9274, allocations: 250.7 kB / 0.8063 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.9281, allocations: 312.1 kB / 0.8066 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.9388, allocations: 5.143 MB / 0.8116 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/0.9389, allocations: 3.906 kB / 0.8116 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/0.9393, allocations: 132.5 kB / 0.8117 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.9393, allocations: 77.78 kB / 0.8118 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.9536, allocations: 6.289 MB / 0.818 GB, free: 8.137 MB / 0.5919 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.0293/0.9829, allocations: 14.42 MB / 0.832 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.9931, allocations: 4.512 MB / 0.8364 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005141/0.9983, allocations: 2.457 MB / 0.8388 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000983/0.9993, allocations: 0.6742 MB / 0.8395 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005538/1.005, allocations: 2.454 MB / 0.8419 GB, free: 440 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=270): time 5.23e-06/1.005, allocations: 0 / 0.8419 GB, free: 440 kB / 0.6075 GB Notification: Performance of matching and sorting (n=270): time 0.01928/1.024, allocations: 7.545 MB / 0.8493 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.024, allocations: 210 kB / 0.8495 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/1.029, allocations: 2.397 MB / 0.8518 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005246/1.029, allocations: 73.7 kB / 0.8519 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.031, allocations: 1.352 MB / 0.8532 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.032, allocations: 0.8909 MB / 0.8541 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/1.033, allocations: 0.4889 MB / 0.8546 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.033, allocations: 309.1 kB / 0.8548 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004837/1.038, allocations: 1.968 MB / 0.8568 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/1.043, allocations: 2.268 MB / 0.859 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/1.052, allocations: 4.23 MB / 0.8631 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/1.053, allocations: 0 / 0.8631 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01246/1.065, allocations: 4.965 MB / 0.868 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/1.065, allocations: 16.09 kB / 0.868 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.065, allocations: 4 kB / 0.868 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/1.066, allocations: 346 kB / 0.8683 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/1.07, allocations: 0.7885 MB / 0.8691 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/1.076, allocations: 4.25 MB / 0.8732 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/1.08, allocations: 0.5423 MB / 0.8738 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/1.08, allocations: 103.9 kB / 0.8739 GB, free: 15.26 MB / 0.6544 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 (278): * Single equations (assignments): 277 * 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.002409/1.082, allocations: 0.9267 MB / 0.8748 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009382/1.083, allocations: 268.6 kB / 0.875 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.097, allocations: 5.541 MB / 0.8804 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.097, allocations: 28 kB / 0.8805 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.097, allocations: 4 kB / 0.8805 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.417e-05/1.097, allocations: 15.94 kB / 0.8805 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.117, allocations: 9.303 MB / 0.8896 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.117, allocations: 0 / 0.8896 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003676/1.121, allocations: 0.7239 MB / 0.8903 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.122, allocations: 386.6 kB / 0.8906 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/1.122, allocations: 75.94 kB / 0.8907 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006831/1.129, allocations: 6.305 MB / 0.8969 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.129, allocations: 3.938 kB / 0.8969 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.147, allocations: 7.921 MB / 0.9046 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.15, allocations: 0.8016 MB / 0.9054 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000925/1.151, allocations: 55.84 kB / 0.9054 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/1.154, allocations: 395.4 kB / 0.9058 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/1.155, allocations: 181.9 kB / 0.906 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000371/1.155, allocations: 91.94 kB / 0.9061 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003283/1.158, allocations: 1.749 MB / 0.9078 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.31e-07/1.158, allocations: 0 / 0.9078 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003519/1.162, allocations: 1.028 MB / 0.9088 GB, free: 11.04 MB / 0.6856 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.00268/1.164, allocations: 1.043 MB / 0.9098 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.175, allocations: 4.807 MB / 0.9145 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.175, allocations: 0 / 0.9145 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/1.181, allocations: 2.754 MB / 0.9172 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/1.184, allocations: 0.6637 MB / 0.9178 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.2, allocations: 7.81 MB / 0.9255 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/1.204, allocations: 2.452 MB / 0.9279 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004331/1.208, allocations: 1.107 MB / 0.9289 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.209, allocations: 263.3 kB / 0.9292 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of SimCode: time 8.22e-07/1.209, allocations: 0 / 0.9292 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of Templates: time 0.07397/1.283, allocations: 46.08 MB / 0.9742 GB, free: 8.867 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (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 & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)