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.7689/0.7689, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 180.8 kB / 182.2 MB, free: 9.449 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.472/1.472, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009577/0.0009578, allocations: 81.8 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 282.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.227e-05, allocations: 4 kB / 0.6766 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4227, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5858, allocations: 111.5 MB / 0.8663 GB, free: 380 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5862, allocations: 96.59 kB / 0.8664 GB, free: 288 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02993/0.6161, allocations: 7.888 MB / 0.8741 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6162, allocations: 0 / 0.8741 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.6162, allocations: 4 kB / 0.8741 GB, free: 8.387 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.0007175/0.6169, allocations: 478.5 kB / 0.8745 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.617, allocations: 12.03 kB / 0.8745 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.6171, allocations: 23.72 kB / 0.8745 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.6175, allocations: 266.5 kB / 0.8748 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.6176, allocations: 7.953 kB / 0.8748 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.6176, allocations: 12 kB / 0.8748 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001341/0.619, allocations: 0.7256 MB / 0.8755 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.6194, allocations: 192.7 kB / 0.8757 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6194, allocations: 0 / 0.8757 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.6195, allocations: 0 / 0.8757 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6195, allocations: 7.938 kB / 0.8757 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.6206, allocations: 0.5245 MB / 0.8762 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.6212, allocations: 272.2 kB / 0.8765 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.6214, allocations: 97.33 kB / 0.8766 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.6215, allocations: 20.25 kB / 0.8766 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.6218, allocations: 165.8 kB / 0.8768 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.6218, allocations: 0 / 0.8768 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0006498/0.6225, allocations: 257.2 kB / 0.877 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.6226, allocations: 132.5 kB / 0.8771 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.623, allocations: 247 kB / 0.8774 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.623, allocations: 29.7 kB / 0.8774 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.6231, allocations: 128.8 kB / 0.8775 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6233, allocations: 102.4 kB / 0.8776 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.6233, allocations: 4 kB / 0.8776 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6235, allocations: 338.8 kB / 0.8779 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.6236, allocations: 67.98 kB / 0.878 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.6239, allocations: 115.4 kB / 0.8781 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.6241, allocations: 108 kB / 0.8782 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6242, allocations: 3.938 kB / 0.8782 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000599/0.6248, allocations: 253.6 kB / 0.8785 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6248, allocations: 11.98 kB / 0.8785 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6248, allocations: 0 / 0.8785 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6248, allocations: 0 / 0.8785 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.6252, allocations: 63.91 kB / 0.8785 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6252, allocations: 4 kB / 0.8785 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.6254, allocations: 19.75 kB / 0.8786 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.6255, allocations: 11.98 kB / 0.8786 GB, free: 3.504 MB / 0.5417 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 0.0001298/0.6256, allocations: 116.9 kB / 0.8787 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.6257, allocations: 23.72 kB / 0.8787 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009816/0.6267, allocations: 361.6 kB / 0.8791 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6267, allocations: 4 kB / 0.8791 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6267, allocations: 0 / 0.8791 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6267, allocations: 3.984 kB / 0.8791 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.6272, allocations: 297.8 kB / 0.8793 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6272, allocations: 0 / 0.8793 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.6275, allocations: 63.91 kB / 0.8794 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.6275, allocations: 3.953 kB / 0.8794 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.6276, allocations: 8 kB / 0.8794 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6276, allocations: 0 / 0.8794 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6276, allocations: 3.938 kB / 0.8794 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.6282, allocations: 301.7 kB / 0.8797 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.6285, allocations: 152.6 kB / 0.8799 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.6285, allocations: 7.953 kB / 0.8799 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.6287, allocations: 15.98 kB / 0.8799 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.6288, allocations: 27.91 kB / 0.8799 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6289, allocations: 8 kB / 0.8799 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002799/0.6292, allocations: 209.6 kB / 0.8801 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6292, allocations: 0 / 0.8801 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005399/0.6297, allocations: 59.98 kB / 0.8802 GB, free: 1.801 MB / 0.5417 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.001176/0.6309, allocations: 355.2 kB / 0.8805 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.6314, allocations: 196.5 kB / 0.8807 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6315, allocations: 0 / 0.8807 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.6317, allocations: 127.8 kB / 0.8808 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.632, allocations: 17.69 kB / 0.8808 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.633, allocations: 390.2 kB / 0.8812 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.6334, allocations: 0.7624 MB / 0.882 GB, free: 4 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005937/0.634, allocations: 155.1 kB / 0.8821 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.6342, allocations: 39.42 kB / 0.8821 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.6342, allocations: 0 / 0.8821 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.008569/0.6428, allocations: 2.773 MB / 0.8848 GB, free: 13.06 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)