Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7658/0.7658, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 178.4 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 98.34 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001634/0.001634, allocations: 261.5 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3911, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.5265, allocations: 110.3 MB / 0.8472 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5268, allocations: 95.92 kB / 0.8473 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0213/0.5481, allocations: 8.065 MB / 0.8551 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5482, allocations: 0 / 0.8551 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.5482, allocations: 8 kB / 0.8551 GB, free: 7.746 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000779/0.549, allocations: 0.5071 MB / 0.8556 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5491, allocations: 8.031 kB / 0.8556 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.5492, allocations: 24.66 kB / 0.8557 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.5495, allocations: 271.7 kB / 0.8559 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.5496, allocations: 12.36 kB / 0.8559 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.5496, allocations: 16.38 kB / 0.856 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.55, allocations: 205.4 kB / 0.8562 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.55, allocations: 192 / 0.8562 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.55, allocations: 7.938 kB / 0.8562 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.55, allocations: 4 kB / 0.8562 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/0.5509, allocations: 0.7411 MB / 0.8569 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.5518, allocations: 0.563 MB / 0.8574 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.5523, allocations: 301.6 kB / 0.8577 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5525, allocations: 105.4 kB / 0.8578 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.5525, allocations: 20.19 kB / 0.8578 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.5528, allocations: 172.9 kB / 0.858 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.5528, allocations: 0 / 0.858 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.0006826/0.5535, allocations: 366 kB / 0.8584 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.5536, allocations: 132.5 kB / 0.8585 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.554, allocations: 280 kB / 0.8588 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.554, allocations: 41.64 kB / 0.8588 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.5541, allocations: 120.7 kB / 0.8589 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5542, allocations: 118.3 kB / 0.859 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.5543, allocations: 4 kB / 0.859 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5544, allocations: 346.8 kB / 0.8594 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5545, allocations: 75.95 kB / 0.8594 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5547, allocations: 123.2 kB / 0.8595 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.555, allocations: 209.6 kB / 0.8597 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5551, allocations: 0 / 0.8597 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004476/0.5555, allocations: 276.9 kB / 0.86 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5555, allocations: 11.94 kB / 0.86 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5555, allocations: 0 / 0.86 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5556, allocations: 7.938 kB / 0.86 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.5558, allocations: 55.97 kB / 0.8601 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5558, allocations: 0 / 0.8601 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.556, allocations: 31.77 kB / 0.8601 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.556, allocations: 12 kB / 0.8601 GB, free: 2.367 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.5562, allocations: 169.7 kB / 0.8603 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.5562, allocations: 23.72 kB / 0.8603 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/0.5569, allocations: 392.5 kB / 0.8607 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5569, allocations: 48 / 0.8607 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.5569, allocations: 7.984 kB / 0.8607 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5569, allocations: 0 / 0.8607 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5572, allocations: 337.1 kB / 0.861 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5572, allocations: 0 / 0.861 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.5574, allocations: 63.91 kB / 0.8611 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5574, allocations: 4 kB / 0.8611 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5574, allocations: 11.98 kB / 0.8611 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5575, allocations: 0 / 0.8611 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5575, allocations: 4 kB / 0.8611 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.5579, allocations: 317.7 kB / 0.8614 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5581, allocations: 144.7 kB / 0.8615 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.5581, allocations: 11.98 kB / 0.8615 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5583, allocations: 19.94 kB / 0.8616 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.5583, allocations: 27.95 kB / 0.8616 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.5583, allocations: 12 kB / 0.8616 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001949/0.5585, allocations: 213.8 kB / 0.8618 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5586, allocations: 0 / 0.8618 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000308/0.5589, allocations: 68 kB / 0.8619 GB, free: 484 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009607/0.5598, allocations: 417 kB / 0.8623 GB, free: 164 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.5602, allocations: 224.3 kB / 0.8625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5603, allocations: 0 / 0.8625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.5604, allocations: 131.8 kB / 0.8626 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.5607, allocations: 42.94 kB / 0.8626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.5616, allocations: 0.5585 MB / 0.8632 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5619, allocations: 0.7612 MB / 0.8639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003384/0.5623, allocations: 150.8 kB / 0.8641 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.5624, allocations: 47.41 kB / 0.8641 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.5624, allocations: 0 / 0.8641 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.006398/0.5688, allocations: 2.967 MB / 0.867 GB, free: 11.26 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)