Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0009842/0.0009843, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.000948/0.0009482, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.9 MB / 0.51 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005555, allocations: 15.94 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7745, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2052/0.9798, allocations: 135.4 MB / 0.8602 GB, free: 3.684 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03652/1.016, allocations: 22.21 MB / 0.8819 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/1.02, allocations: 55.62 kB / 0.8819 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/1.023, allocations: 0.9413 MB / 0.8828 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/1.035, allocations: 2.015 MB / 0.8848 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007386/1.042, allocations: 1.578 MB / 0.8864 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006977/1.049, allocations: 2.714 MB / 0.889 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/1.053, allocations: 2.741 MB / 0.8917 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/1.056, allocations: 1.23 MB / 0.8929 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.059, allocations: 1.529 MB / 0.8944 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/1.059, allocations: 100 kB / 0.8945 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/1.061, allocations: 0.5112 MB / 0.895 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007479/1.062, allocations: 0.6575 MB / 0.8956 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008563/1.063, allocations: 0.5974 MB / 0.8962 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/1.068, allocations: 4.01 MB / 0.9001 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.068, allocations: 0 / 0.9001 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.53e-06/1.068, allocations: 0 / 0.9001 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001291/1.068, allocations: 7.938 kB / 0.9001 GB, free: 10.69 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.008726/1.076, allocations: 3.634 MB / 0.9037 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.077, allocations: 8.031 kB / 0.9037 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/1.089, allocations: 2.675 MB / 0.9063 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/1.095, allocations: 2.06 MB / 0.9083 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/1.095, allocations: 234 kB / 0.9085 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005125/1.096, allocations: 288 kB / 0.9088 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7435/1.839, allocations: 4.777 MB / 0.9135 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.567e-05/1.839, allocations: 4.328 kB / 0.9135 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/1.84, allocations: 127.5 kB / 0.9136 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.84, allocations: 72.88 kB / 0.9137 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.862, allocations: 5.916 MB / 0.9194 GB, free: 18.47 MB / 0.7169 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.03479/1.897, allocations: 13.39 MB / 0.9325 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/1.909, allocations: 4.408 MB / 0.9368 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.91, allocations: 0.6692 MB / 0.9375 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006364/1.917, allocations: 2.269 MB / 0.9397 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=255): time 7.294e-06/1.917, allocations: 0 / 0.9397 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=255): time 0.02063/1.937, allocations: 6.666 MB / 0.9462 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.938, allocations: 206.5 kB / 0.9464 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005344/1.943, allocations: 2.292 MB / 0.9486 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007584/1.944, allocations: 72.14 kB / 0.9487 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.945, allocations: 1.274 MB / 0.9499 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.947, allocations: 0.8465 MB / 0.9508 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/1.948, allocations: 43.44 kB / 0.9508 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003601/1.948, allocations: 393.4 kB / 0.9512 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/1.953, allocations: 1.782 MB / 0.9529 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/1.958, allocations: 2.091 MB / 0.955 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/1.962, allocations: 1.928 MB / 0.9569 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.962, allocations: 0 / 0.9569 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01002/1.972, allocations: 4.47 MB / 0.9612 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/1.972, allocations: 9.656 kB / 0.9612 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.972, allocations: 6.859 kB / 0.9612 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/1.973, allocations: 232.5 kB / 0.9615 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.976, allocations: 0.7595 MB / 0.9622 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/1.98, allocations: 3.192 MB / 0.9653 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/1.984, allocations: 0.4905 MB / 0.9658 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.984, allocations: 99.08 kB / 0.9659 GB, free: 7.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002317/1.986, allocations: 0.8777 MB / 0.9667 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006215/1.987, allocations: 255.9 kB / 0.967 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.998, allocations: 5.077 MB / 0.972 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/1.999, allocations: 28.16 kB / 0.972 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.999, allocations: 2.438 kB / 0.972 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/1.999, allocations: 11.95 kB / 0.972 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/2.017, allocations: 8.574 MB / 0.9804 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/2.017, allocations: 0 / 0.9804 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/2.02, allocations: 0.7217 MB / 0.9811 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/2.021, allocations: 260.4 kB / 0.9813 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/2.021, allocations: 75.67 kB / 0.9814 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/2.026, allocations: 4.88 MB / 0.9862 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.026, allocations: 0 / 0.9862 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/2.041, allocations: 7.215 MB / 0.9932 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/2.044, allocations: 0.8149 MB / 0.994 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/2.044, allocations: 52.7 kB / 0.994 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/2.047, allocations: 372.9 kB / 0.9944 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/2.048, allocations: 163.2 kB / 0.9946 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/2.048, allocations: 96.67 kB / 0.9947 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002398/2.05, allocations: 1.67 MB / 0.9963 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/2.05, allocations: 0 / 0.9963 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003098/2.053, allocations: 0.9446 MB / 0.9972 GB, free: 6.359 MB / 0.7325 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 (248): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002371/2.056, allocations: 0.9923 MB / 0.9982 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009797/2.066, allocations: 4.341 MB / 1.002 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.066, allocations: 4.188 kB / 1.002 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005022/2.071, allocations: 2.501 MB / 1.005 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/2.073, allocations: 0.542 MB / 1.005 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/2.089, allocations: 8.6 MB / 1.014 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/2.091, allocations: 2.413 MB / 1.016 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004958/2.096, allocations: 1.083 MB / 1.017 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/2.097, allocations: 252.4 kB / 1.017 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of SimCode: time 2.074e-06/2.097, allocations: 0 / 1.017 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of Templates: time 0.07381/2.171, allocations: 39.79 MB / 1.056 GB, free: 13.77 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: