Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009391, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007305/0.007305, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.05/1.05, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6197/0.8241, allocations: 196.9 MB / 0.7803 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.8534, allocations: 14.97 MB / 0.7949 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00596/0.8594, allocations: 79.56 kB / 0.795 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.8633, allocations: 1.147 MB / 0.7961 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009436/0.8728, allocations: 2.427 MB / 0.7985 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006471/0.8793, allocations: 1.938 MB / 0.8004 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0112/0.8905, allocations: 7.367 MB / 0.8075 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007638/0.8982, allocations: 4.585 MB / 0.812 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004668/0.9029, allocations: 1.839 MB / 0.8138 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005436/0.9084, allocations: 2.482 MB / 0.8162 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.9094, allocations: 156 kB / 0.8164 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005583/0.915, allocations: 1.688 MB / 0.818 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.9169, allocations: 1.101 MB / 0.8191 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00436/0.9213, allocations: 2.071 MB / 0.8211 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.9319, allocations: 7.218 MB / 0.8282 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.932, allocations: 0 / 0.8282 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.932, allocations: 4 kB / 0.8282 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002821/0.9323, allocations: 0 / 0.8282 GB, free: 6.207 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01255/0.9448, allocations: 4.758 MB / 0.8328 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.9449, allocations: 8.031 kB / 0.8328 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.9604, allocations: 3.114 MB / 0.8359 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006421/0.9669, allocations: 2.69 MB / 0.8385 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.9672, allocations: 308.2 kB / 0.8388 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.9687, allocations: 403.9 kB / 0.8392 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.9857, allocations: 6.281 MB / 0.8453 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.9859, allocations: 4 kB / 0.8453 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.9864, allocations: 168 kB / 0.8455 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.9865, allocations: 148 kB / 0.8456 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/1.006, allocations: 7.435 MB / 0.8529 GB, free: 12.61 MB / 0.67 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.4413/1.447, allocations: 18.94 MB / 0.8714 GB, free: 205.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009206/1.457, allocations: 4.837 MB / 0.8761 GB, free: 205 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005781/1.462, allocations: 3.181 MB / 0.8792 GB, free: 204 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008871/1.463, allocations: 0.6988 MB / 0.8799 GB, free: 203.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005917/1.469, allocations: 2.951 MB / 0.8828 GB, free: 202.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.28e-06/1.469, allocations: 0 / 0.8828 GB, free: 202.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04041/1.51, allocations: 16.37 MB / 0.8988 GB, free: 197.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.51, allocations: 220.8 kB / 0.899 GB, free: 196.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/1.515, allocations: 2.904 MB / 0.9018 GB, free: 195.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007425/1.515, allocations: 90.08 kB / 0.9019 GB, free: 195.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.517, allocations: 1.673 MB / 0.9035 GB, free: 194.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.519, allocations: 1.154 MB / 0.9047 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/1.519, allocations: 250.2 kB / 0.9049 GB, free: 193.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/1.519, allocations: 302.9 kB / 0.9052 GB, free: 193.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005584/1.525, allocations: 2.351 MB / 0.9075 GB, free: 192.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/1.53, allocations: 2.703 MB / 0.9101 GB, free: 191.6 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3402/1.871, allocations: 88.3 MB / 0.9963 GB, free: 124.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.871, allocations: 0 / 0.9963 GB, free: 124.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01407/1.885, allocations: 6.237 MB / 1.002 GB, free: 118.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/1.885, allocations: 35.11 kB / 1.002 GB, free: 118.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.885, allocations: 4 kB / 1.002 GB, free: 118.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/1.886, allocations: 0.824 MB / 1.003 GB, free: 117.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.891, allocations: 0.8774 MB / 1.004 GB, free: 116.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008409/1.899, allocations: 6.936 MB / 1.011 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/1.905, allocations: 0.4913 MB / 1.011 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008962/1.906, allocations: 127.9 kB / 1.012 GB, free: 108.7 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003134/1.909, allocations: 1.139 MB / 1.013 GB, free: 107.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009639/1.91, allocations: 343.7 kB / 1.013 GB, free: 107.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.924, allocations: 6.803 MB / 1.02 GB, free: 100.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.924, allocations: 40.78 kB / 1.02 GB, free: 100.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.924, allocations: 8 kB / 1.02 GB, free: 100.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01198/1.936, allocations: 5.948 MB / 1.025 GB, free: 94.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.958, allocations: 11.77 MB / 1.037 GB, free: 82.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.958, allocations: 7.984 kB / 1.037 GB, free: 82.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004196/1.962, allocations: 0.8585 MB / 1.038 GB, free: 81.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/1.964, allocations: 0.698 MB / 1.038 GB, free: 80.83 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/1.964, allocations: 99.92 kB / 1.039 GB, free: 80.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008501/1.973, allocations: 9.186 MB / 1.048 GB, free: 71.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.973, allocations: 11.31 kB / 1.048 GB, free: 71.15 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.992, allocations: 9.861 MB / 1.057 GB, free: 61.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/1.994, allocations: 0.9532 MB / 1.058 GB, free: 60.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007763/1.995, allocations: 68 kB / 1.058 GB, free: 60.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003703/1.999, allocations: 498.7 kB / 1.059 GB, free: 59.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/1.999, allocations: 250.3 kB / 1.059 GB, free: 59.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.999, allocations: 128 kB / 1.059 GB, free: 59.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00263/2.002, allocations: 2.107 MB / 1.061 GB, free: 57.15 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/2.002, allocations: 0 / 1.061 GB, free: 57.15 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00379/2.006, allocations: 1.103 MB / 1.062 GB, free: 56.07 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002583/2.009, allocations: 1.068 MB / 1.063 GB, free: 55.44 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01222/2.021, allocations: 5.953 MB / 1.069 GB, free: 49.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.021, allocations: 0 / 1.069 GB, free: 49.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006954/2.028, allocations: 3.569 MB / 1.072 GB, free: 45.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006955/2.035, allocations: 0.9721 MB / 1.073 GB, free: 44.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/2.053, allocations: 11.93 MB / 1.085 GB, free: 32.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/2.055, allocations: 2.928 MB / 1.088 GB, free: 29.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00494/2.06, allocations: 1.27 MB / 1.089 GB, free: 28.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/2.061, allocations: 303.3 kB / 1.089 GB, free: 28.36 MB / 0.67 GB Notification: Performance of SimCode: time 2.896e-06/2.061, allocations: 0 / 1.089 GB, free: 28.36 MB / 0.67 GB Notification: Performance of Templates: time 0.3916/2.453, allocations: 59.7 MB / 1.148 GB, free: 194.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)