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.001076/0.001077, allocations: 100.9 kB / 16.35 MB, free: 5.828 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.001011/0.001011, allocations: 197.7 kB / 17.3 MB, free: 5.484 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7951/0.7951, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.5067 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3354, allocations: 80.91 MB / 0.5857 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1565/0.492, allocations: 160.8 MB / 0.7427 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3393/0.8313, allocations: 26.77 MB / 0.7689 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.8344, allocations: 73.06 kB / 0.769 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.837, allocations: 1.012 MB / 0.7699 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.8422, allocations: 1.672 MB / 0.7716 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.8466, allocations: 1.711 MB / 0.7732 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005729/0.8523, allocations: 4.822 MB / 0.778 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/0.8569, allocations: 4.263 MB / 0.7821 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.8599, allocations: 2.013 MB / 0.7841 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.8625, allocations: 2.456 MB / 0.7865 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.8631, allocations: 447.9 kB / 0.7869 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.8649, allocations: 1.055 MB / 0.7879 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00074/0.8656, allocations: 1.165 MB / 0.7891 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.8673, allocations: 2.03 MB / 0.7911 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.8725, allocations: 5.799 MB / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8725, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8725, allocations: 0.9375 kB / 0.7967 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001039/0.8726, 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.008684/0.8813, allocations: 4.492 MB / 0.8011 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8813, allocations: 9.578 kB / 0.8011 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.8935, allocations: 2.768 MB / 0.8038 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.8982, allocations: 2.299 MB / 0.8061 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.8983, allocations: 239.5 kB / 0.8063 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/0.8989, allocations: 312.9 kB / 0.8066 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009602/0.9085, allocations: 5.142 MB / 0.8116 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.9086, allocations: 5.062 kB / 0.8116 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.9089, allocations: 132.9 kB / 0.8118 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.909, allocations: 79.03 kB / 0.8118 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.9229, allocations: 6.29 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.02567/0.9486, allocations: 14.41 MB / 0.832 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.958, allocations: 4.515 MB / 0.8365 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/0.9628, allocations: 2.454 MB / 0.8388 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008917/0.9637, allocations: 0.6711 MB / 0.8395 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004802/0.9685, allocations: 2.468 MB / 0.8419 GB, free: 444 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=270): time 4.568e-06/0.9685, allocations: 0 / 0.8419 GB, free: 444 kB / 0.6075 GB Notification: Performance of matching and sorting (n=270): time 0.01696/0.9855, allocations: 7.532 MB / 0.8493 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.9856, allocations: 206 kB / 0.8495 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.9889, allocations: 2.397 MB / 0.8518 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.9891, allocations: 73.7 kB / 0.8519 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.9903, allocations: 1.351 MB / 0.8532 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008368/0.9911, allocations: 0.8992 MB / 0.8541 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009097/0.992, allocations: 496.6 kB / 0.8545 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.9921, allocations: 305.1 kB / 0.8548 GB, free: 3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/0.9963, allocations: 1.975 MB / 0.8568 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004429/1.001, allocations: 2.27 MB / 0.859 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00859/1.009, allocations: 4.228 MB / 0.8631 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.009, allocations: 0 / 0.8631 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01068/1.02, allocations: 4.969 MB / 0.868 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.02, allocations: 8 kB / 0.868 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.02, allocations: 7.938 kB / 0.868 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/1.021, allocations: 350 kB / 0.8683 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/1.025, allocations: 0.7845 MB / 0.8691 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/1.03, allocations: 4.253 MB / 0.8732 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.033, allocations: 0.5323 MB / 0.8738 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.034, allocations: 111.9 kB / 0.8739 GB, free: 15.27 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.002082/1.036, allocations: 0.9321 MB / 0.8748 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.036, allocations: 268.6 kB / 0.875 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.048, allocations: 5.536 MB / 0.8804 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.048, allocations: 28 kB / 0.8805 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.048, allocations: 4 kB / 0.8805 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/1.048, allocations: 15.95 kB / 0.8805 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.066, allocations: 9.3 MB / 0.8896 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.066, allocations: 0 / 0.8896 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003468/1.069, allocations: 0.7316 MB / 0.8903 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009905/1.07, allocations: 386.6 kB / 0.8906 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/1.07, allocations: 71.94 kB / 0.8907 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/1.076, allocations: 6.299 MB / 0.8969 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.077, allocations: 3.938 kB / 0.8969 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.092, allocations: 7.922 MB / 0.9046 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.095, allocations: 0.8016 MB / 0.9054 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/1.095, allocations: 55.84 kB / 0.9054 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.098, allocations: 395.4 kB / 0.9058 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/1.098, allocations: 177.9 kB / 0.906 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/1.099, allocations: 95.92 kB / 0.9061 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002368/1.101, allocations: 1.752 MB / 0.9078 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/1.101, allocations: 0 / 0.9078 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002848/1.104, allocations: 1.028 MB / 0.9088 GB, free: 11.05 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.002367/1.106, allocations: 1.033 MB / 0.9098 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.117, allocations: 4.803 MB / 0.9145 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.117, allocations: 4 kB / 0.9145 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005444/1.122, allocations: 2.76 MB / 0.9172 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.125, allocations: 0.6762 MB / 0.9179 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.139, allocations: 7.804 MB / 0.9255 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/1.141, allocations: 2.456 MB / 0.9279 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004127/1.145, allocations: 1.095 MB / 0.9289 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.146, allocations: 266.3 kB / 0.9292 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/1.146, allocations: 0 / 0.9292 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.07081/1.217, allocations: 46.09 MB / 0.9742 GB, free: 8.891 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)