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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.8039/0.8039, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 178.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 441.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008714, allocations: 99.34 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 271.7 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.8e-05, allocations: 8 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4895, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.6264, allocations: 112.2 MB / 0.8738 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.6267, allocations: 95.81 kB / 0.8739 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02007/0.6468, allocations: 8.046 MB / 0.8818 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6469, allocations: 0 / 0.8818 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.6469, allocations: 11.94 kB / 0.8818 GB, free: 4.27 MB / 0.5417 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.0005789/0.6475, allocations: 474.6 kB / 0.8822 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.6475, allocations: 8.031 kB / 0.8822 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.6476, allocations: 23.72 kB / 0.8823 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.648, allocations: 262.5 kB / 0.8825 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.648, allocations: 19.95 kB / 0.8825 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.648, allocations: 19.92 kB / 0.8825 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.6484, allocations: 204.7 kB / 0.8827 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6484, allocations: 0 / 0.8827 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.6484, allocations: 8 kB / 0.8827 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6484, allocations: 4 kB / 0.8827 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.6492, allocations: 0.7256 MB / 0.8835 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.65, allocations: 0.5669 MB / 0.884 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.6505, allocations: 288.5 kB / 0.8843 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.6506, allocations: 105.4 kB / 0.8844 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.6507, allocations: 28.23 kB / 0.8844 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.651, allocations: 173.4 kB / 0.8846 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.651, allocations: 0 / 0.8846 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0004876/0.6515, allocations: 273.2 kB / 0.8848 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.6516, allocations: 132.5 kB / 0.885 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.6519, allocations: 256.1 kB / 0.8852 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.6519, allocations: 33.7 kB / 0.8852 GB, free: 492 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.652, allocations: 128.8 kB / 0.8854 GB, free: 360 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.6521, allocations: 106.4 kB / 0.8855 GB, free: 252 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.6521, allocations: 8 kB / 0.8855 GB, free: 244 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6522, allocations: 338.8 kB / 0.8858 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.6524, allocations: 75.98 kB / 0.8859 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.6525, allocations: 127.5 kB / 0.886 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6527, allocations: 104.4 kB / 0.8861 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6527, allocations: 4 kB / 0.8861 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000387/0.6531, allocations: 265.2 kB / 0.8863 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6531, allocations: 4 kB / 0.8863 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6531, allocations: 0 / 0.8863 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6532, allocations: 3.984 kB / 0.8864 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.6534, allocations: 59.91 kB / 0.8864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6534, allocations: 4 kB / 0.8864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.6535, allocations: 27.69 kB / 0.8864 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.6536, allocations: 19.98 kB / 0.8865 GB, free: 15.2 MB / 0.5573 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 () * 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 9.288e-05/0.6537, allocations: 128.8 kB / 0.8866 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.6537, allocations: 23.72 kB / 0.8866 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.6544, allocations: 385.4 kB / 0.887 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6544, allocations: 0 / 0.887 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6544, allocations: 4 kB / 0.887 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6544, allocations: 3.984 kB / 0.887 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.6547, allocations: 341.1 kB / 0.8873 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6547, allocations: 0 / 0.8873 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6549, allocations: 63.91 kB / 0.8874 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6549, allocations: 0 / 0.8874 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.655, allocations: 8 kB / 0.8874 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.655, allocations: 0 / 0.8874 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.655, allocations: 4 kB / 0.8874 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.6554, allocations: 322.2 kB / 0.8877 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.6556, allocations: 160.6 kB / 0.8878 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.6557, allocations: 8 kB / 0.8878 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6558, allocations: 16.03 kB / 0.8879 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.6559, allocations: 23.95 kB / 0.8879 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.6559, allocations: 12 kB / 0.8879 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001937/0.6561, allocations: 216.5 kB / 0.8881 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6561, allocations: 0 / 0.8881 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002892/0.6564, allocations: 71.97 kB / 0.8882 GB, free: 13.36 MB / 0.5573 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) * 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.0008823/0.6573, allocations: 385.7 kB / 0.8885 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.6576, allocations: 220 kB / 0.8887 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6577, allocations: 0 / 0.8887 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.6578, allocations: 123.9 kB / 0.8889 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6581, allocations: 24.66 kB / 0.8889 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.6587, allocations: 410 kB / 0.8893 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6591, allocations: 0.7572 MB / 0.89 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000318/0.6594, allocations: 155.4 kB / 0.8902 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.6595, allocations: 39.42 kB / 0.8902 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.6595, allocations: 0 / 0.8902 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of Templates: time 0.006095/0.6656, allocations: 2.976 MB / 0.8931 GB, free: 8.402 MB / 0.5573 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)