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.001102/0.001102, allocations: 104 kB / 16.35 MB, free: 5.824 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.00103/0.00103, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3991, allocations: 80.91 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1701/0.5692, allocations: 160.1 MB / 0.7421 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3784/0.9477, allocations: 26.59 MB / 0.7681 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.9511, allocations: 73.41 kB / 0.7681 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.9533, allocations: 0.9773 MB / 0.7691 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.9581, allocations: 1.613 MB / 0.7707 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.9621, allocations: 1.644 MB / 0.7723 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006052/0.9681, allocations: 4.571 MB / 0.7767 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005348/0.9735, allocations: 4.102 MB / 0.7807 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.977, allocations: 1.934 MB / 0.7826 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.9804, allocations: 2.339 MB / 0.7849 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006842/0.9811, allocations: 425.2 kB / 0.7853 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.9832, allocations: 1.039 MB / 0.7863 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008167/0.984, allocations: 1.102 MB / 0.7874 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.9859, allocations: 1.93 MB / 0.7893 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.991, allocations: 5.506 MB / 0.7947 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.991, allocations: 0 / 0.7947 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.991, allocations: 0.9688 kB / 0.7947 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.963e-05/0.9911, allocations: 0 / 0.7947 GB, free: 15.43 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008273/0.9994, allocations: 4.311 MB / 0.7989 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.9994, allocations: 11.55 kB / 0.7989 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/1.012, allocations: 2.747 MB / 0.8016 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/1.017, allocations: 2.202 MB / 0.8037 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/1.017, allocations: 235.5 kB / 0.804 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005764/1.017, allocations: 303.9 kB / 0.8042 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009799/1.027, allocations: 4.959 MB / 0.8091 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/1.027, allocations: 3.984 kB / 0.8091 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/1.028, allocations: 132.4 kB / 0.8092 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/1.028, allocations: 74.69 kB / 0.8093 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/1.041, allocations: 6.106 MB / 0.8153 GB, free: 9.508 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.02717/1.068, allocations: 13.53 MB / 0.8285 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008806/1.077, allocations: 4.354 MB / 0.8327 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004461/1.081, allocations: 2.315 MB / 0.835 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/1.082, allocations: 0.6636 MB / 0.8356 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004693/1.087, allocations: 2.374 MB / 0.838 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 4.879e-06/1.087, allocations: 0 / 0.838 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01523/1.102, allocations: 6.943 MB / 0.8447 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.102, allocations: 206 kB / 0.8449 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/1.105, allocations: 2.315 MB / 0.8472 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/1.105, allocations: 65.7 kB / 0.8473 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.106, allocations: 1.3 MB / 0.8485 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/1.107, allocations: 0.8581 MB / 0.8494 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008207/1.108, allocations: 480.1 kB / 0.8498 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/1.108, allocations: 301.1 kB / 0.8501 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00401/1.112, allocations: 1.897 MB / 0.852 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/1.116, allocations: 2.185 MB / 0.8541 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/1.125, allocations: 4.071 MB / 0.8581 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.125, allocations: 3.938 kB / 0.8581 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009869/1.134, allocations: 4.696 MB / 0.8627 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.135, allocations: 12 kB / 0.8627 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.135, allocations: 7.938 kB / 0.8627 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/1.135, allocations: 229.7 kB / 0.8629 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/1.139, allocations: 0.7776 MB / 0.8637 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/1.143, allocations: 3.375 MB / 0.8669 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/1.146, allocations: 0.5231 MB / 0.8675 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/1.146, allocations: 111.9 kB / 0.8676 GB, free: 5.219 MB / 0.6387 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.001687/1.148, allocations: 0.8919 MB / 0.8684 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/1.148, allocations: 264.7 kB / 0.8687 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.16, allocations: 5.253 MB / 0.8738 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.16, allocations: 28 kB / 0.8738 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.16, allocations: 4 kB / 0.8739 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/1.16, allocations: 15.89 kB / 0.8739 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/1.177, allocations: 8.821 MB / 0.8825 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.177, allocations: 0 / 0.8825 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/1.18, allocations: 0.7199 MB / 0.8832 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/1.181, allocations: 262.4 kB / 0.8834 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.181, allocations: 71.94 kB / 0.8835 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/1.186, allocations: 5.244 MB / 0.8886 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.186, allocations: 0 / 0.8886 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.202, allocations: 7.535 MB / 0.896 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.204, allocations: 0.7666 MB / 0.8967 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/1.204, allocations: 55.84 kB / 0.8968 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/1.207, allocations: 391.4 kB / 0.8972 GB, free: 6.453 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/1.207, allocations: 165.9 kB / 0.8973 GB, free: 6.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.208, allocations: 95.94 kB / 0.8974 GB, free: 6.195 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002212/1.21, allocations: 1.688 MB / 0.8991 GB, free: 4.492 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.21, allocations: 0 / 0.8991 GB, free: 4.492 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00239/1.212, allocations: 0.9738 MB / 0.9 GB, free: 3.516 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.002279/1.215, allocations: 1.039 MB / 0.901 GB, free: 2.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.225, allocations: 4.585 MB / 0.9055 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.225, allocations: 7.375 kB / 0.9055 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005304/1.23, allocations: 2.603 MB / 0.908 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.233, allocations: 0.6391 MB / 0.9087 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.246, allocations: 7.467 MB / 0.916 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.248, allocations: 2.378 MB / 0.9183 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003613/1.251, allocations: 1.083 MB / 0.9193 GB, free: 132 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.252, allocations: 263.2 kB / 0.9196 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of SimCode: time 9.32e-07/1.252, allocations: 0 / 0.9196 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of Templates: time 0.07512/1.327, allocations: 43.45 MB / 0.962 GB, free: 4.793 MB / 0.7325 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)