Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.026/2.026, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 185.3 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 106.5 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009444/0.0009445, allocations: 50.56 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1936, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.1514/0.3451, allocations: 199.7 MB / 1.413 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.4793/0.8244, allocations: 15.14 MB / 1.428 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.8277, allocations: 86.53 kB / 1.428 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.8301, allocations: 1.138 MB / 1.429 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.8357, allocations: 2.425 MB / 1.431 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.8403, allocations: 1.946 MB / 1.433 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.009815/0.8501, allocations: 7.419 MB / 1.441 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007342/0.8574, allocations: 4.929 MB / 1.445 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.8619, allocations: 2.207 MB / 1.448 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.8672, allocations: 2.941 MB / 1.45 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0009533/0.8681, allocations: 318.2 kB / 1.451 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.8725, allocations: 1.846 MB / 1.453 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.8736, allocations: 1.333 MB / 1.454 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.8765, allocations: 2.36 MB / 1.456 GB, free: 16.31 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.8833, allocations: 7.461 MB / 1.463 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8833, allocations: 4 kB / 1.463 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8833, allocations: 2.625 kB / 1.463 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001775/0.8835, allocations: 0 / 1.463 GB, free: 15.35 MB / 0.9323 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.01127/0.8948, allocations: 5.615 MB / 1.469 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8948, allocations: 14.08 kB / 1.469 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/0.9079, allocations: 2.996 MB / 1.472 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.9128, allocations: 2.677 MB / 1.475 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.9129, allocations: 315.3 kB / 1.475 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006051/0.9136, allocations: 411.3 kB / 1.475 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.9249, allocations: 6.222 MB / 1.481 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/0.925, allocations: 7.188 kB / 1.481 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003754/0.9254, allocations: 170 kB / 1.481 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.892e-05/0.9255, allocations: 140.3 kB / 1.482 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.9409, allocations: 7.333 MB / 1.489 GB, free: 11.66 MB / 0.9323 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.03245/0.9734, allocations: 18.88 MB / 1.507 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009557/0.983, allocations: 4.813 MB / 1.512 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006098/0.9891, allocations: 3.165 MB / 1.515 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.9902, allocations: 0.7014 MB / 1.516 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006524/0.9968, allocations: 2.931 MB / 1.519 GB, free: 12.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=345): time 6.543e-06/0.9968, allocations: 0 / 1.519 GB, free: 12.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=347): time 0.04101/1.038, allocations: 16.24 MB / 1.534 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.038, allocations: 222.6 kB / 1.535 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.042, allocations: 2.914 MB / 1.537 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004314/1.043, allocations: 85.7 kB / 1.538 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.044, allocations: 1.68 MB / 1.539 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/1.045, allocations: 1.154 MB / 1.54 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.047, allocations: 0.5807 MB / 1.541 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/1.047, allocations: 301.1 kB / 1.541 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005096/1.052, allocations: 2.336 MB / 1.543 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/1.057, allocations: 2.679 MB / 1.546 GB, free: 0.7578 MB / 0.9636 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.3505/1.408, allocations: 86.7 MB / 1.631 GB, free: 9.875 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.408, allocations: 4 kB / 1.631 GB, free: 9.871 MB / 1.057 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01344/1.421, allocations: 6.209 MB / 1.637 GB, free: 3.668 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/1.421, allocations: 37.64 kB / 1.637 GB, free: 3.625 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.421, allocations: 0 / 1.637 GB, free: 3.625 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/1.423, allocations: 0.8279 MB / 1.638 GB, free: 2.793 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/1.427, allocations: 0.8705 MB / 1.638 GB, free: 1.953 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/1.436, allocations: 6.933 MB / 1.645 GB, free: 10.91 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.441, allocations: 491.1 kB / 1.646 GB, free: 10.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/1.441, allocations: 131.9 kB / 1.646 GB, free: 10.3 MB / 1.073 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.002223/1.444, allocations: 1.145 MB / 1.647 GB, free: 9.176 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006761/1.444, allocations: 339.8 kB / 1.647 GB, free: 8.84 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/1.459, allocations: 6.768 MB / 1.654 GB, free: 2.047 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/1.459, allocations: 32 kB / 1.654 GB, free: 2.016 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.459, allocations: 19.69 kB / 1.654 GB, free: 2 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01131/1.47, allocations: 5.917 MB / 1.66 GB, free: 12 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.491, allocations: 11.73 MB / 1.671 GB, free: 240 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.491, allocations: 6.906 kB / 1.671 GB, free: 236 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/1.495, allocations: 0.8487 MB / 1.672 GB, free: 15.41 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/1.497, allocations: 0.702 MB / 1.673 GB, free: 14.7 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/1.497, allocations: 95.92 kB / 1.673 GB, free: 14.61 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009492/1.507, allocations: 9.176 MB / 1.682 GB, free: 5.062 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.507, allocations: 6.906 kB / 1.682 GB, free: 5.059 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3559/1.863, allocations: 136.9 MB / 1.815 GB, free: 11.15 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00278/1.865, allocations: 0.9221 MB / 1.816 GB, free: 10.21 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006412/1.866, allocations: 79.91 kB / 1.816 GB, free: 10.13 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/1.869, allocations: 468.4 kB / 1.817 GB, free: 9.672 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/1.87, allocations: 249.2 kB / 1.817 GB, free: 9.43 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002691/1.87, allocations: 123.9 kB / 1.817 GB, free: 9.309 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.002465/1.873, allocations: 2.103 MB / 1.819 GB, free: 7.207 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.9e-07/1.873, allocations: 0 / 1.819 GB, free: 7.207 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.005183/1.878, allocations: 1.797 MB / 1.821 GB, free: 5.41 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.medium.Xi[1],thermalZoneFourElements.volAir.dynBal.U,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.002342/1.88, allocations: 1.128 MB / 1.822 GB, free: 4.715 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.892, allocations: 5.908 MB / 1.828 GB, free: 14.8 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.892, allocations: 4.453 kB / 1.828 GB, free: 14.8 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.006552/1.899, allocations: 3.556 MB / 1.831 GB, free: 11.27 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/1.903, allocations: 0.9606 MB / 1.832 GB, free: 10.32 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/1.927, allocations: 14.7 MB / 1.847 GB, free: 11.52 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.93, allocations: 3.07 MB / 1.85 GB, free: 8.418 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.006687/1.937, allocations: 1.602 MB / 1.851 GB, free: 6.809 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/1.94, allocations: 371.2 kB / 1.852 GB, free: 6.445 MB / 1.276 GB Notification: Performance of SimCode: time 7.62e-07/1.94, allocations: 0 / 1.852 GB, free: 6.445 MB / 1.276 GB Notification: Performance of Templates: time 0.5758/2.515, allocations: 114.9 MB / 1.964 GB, free: 0.5142 GB / 1.307 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)