Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9264/0.9264, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 247.5 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7414/0.7414, allocations: 138.4 MB / 456.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.467e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003978/0.004003, allocations: 1.941 MB / 0.5583 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.006639, allocations: 1.862 MB / 0.5601 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.006751, allocations: 0 / 0.5601 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.007008, allocations: 27.72 kB / 0.5601 GB, free: 12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.007491, allocations: 127.2 kB / 0.5602 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.007968, allocations: 171.4 kB / 0.5604 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.008343, allocations: 301.2 kB / 0.5607 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.008457, allocations: 25.09 kB / 0.5607 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02943/0.03788, allocations: 10.14 MB / 0.5706 GB, free: 4.598 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.03805, allocations: 75.84 kB / 0.5707 GB, free: 4.523 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.03809, allocations: 20 kB / 0.5707 GB, free: 4.504 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.03827, allocations: 71.89 kB / 0.5708 GB, free: 4.434 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.03835, allocations: 87.73 kB / 0.5708 GB, free: 4.348 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.03843, allocations: 79.75 kB / 0.5709 GB, free: 4.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.03884, allocations: 274.9 kB / 0.5712 GB, free: 4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.03884, allocations: 0 / 0.5712 GB, free: 4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03885, allocations: 0 / 0.5712 GB, free: 4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.03885, allocations: 0 / 0.5712 GB, free: 4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000632/0.03948, allocations: 0.6014 MB / 0.5718 GB, free: 3.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.03952, allocations: 8.75 kB / 0.5718 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.03968, allocations: 56.62 kB / 0.5718 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.03995, allocations: 254.2 kB / 0.5721 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.03997, allocations: 12.38 kB / 0.5721 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.03999, allocations: 20.38 kB / 0.5721 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.04027, allocations: 297.3 kB / 0.5724 GB, free: 2.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.04028, allocations: 7.938 kB / 0.5724 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.0403, allocations: 12 kB / 0.5724 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.04031, allocations: 8 kB / 0.5724 GB, free: 2.633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.04075, allocations: 0.5654 MB / 0.573 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.04136, allocations: 0.4999 MB / 0.5735 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.04158, allocations: 167.8 kB / 0.5736 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.04164, allocations: 60.2 kB / 0.5737 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.04167, allocations: 16.27 kB / 0.5737 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.04186, allocations: 193.7 kB / 0.5739 GB, free: 1.066 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.04186, allocations: 3.938 kB / 0.5739 GB, free: 1.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003365/0.0422, allocations: 241.6 kB / 0.5741 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.04224, allocations: 106.8 kB / 0.5742 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.04239, allocations: 280.2 kB / 0.5745 GB, free: 412 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.04242, allocations: 33.7 kB / 0.5745 GB, free: 372 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.0425, allocations: 183.4 kB / 0.5747 GB, free: 184 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.04257, allocations: 126.9 kB / 0.5748 GB, free: 56 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.04266, allocations: 71.41 kB / 0.5749 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.04279, allocations: 0.5156 MB / 0.5754 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.04284, allocations: 35.97 kB / 0.5754 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.04293, allocations: 134.4 kB / 0.5755 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.04306, allocations: 117 kB / 0.5757 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.04306, allocations: 0 / 0.5757 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002168/0.04328, allocations: 205.2 kB / 0.5758 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.04329, allocations: 7.938 kB / 0.5759 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.04329, allocations: 4 kB / 0.5759 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.0433, allocations: 0 / 0.5759 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.04345, allocations: 59.91 kB / 0.5759 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.04345, allocations: 4 kB / 0.5759 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.04353, allocations: 23.86 kB / 0.5759 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.04354, allocations: 19.94 kB / 0.576 GB, free: 14.82 MB / 0.4948 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.04364, allocations: 168.5 kB / 0.5761 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.04368, allocations: 35.86 kB / 0.5762 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.04401, allocations: 300.9 kB / 0.5764 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.04402, allocations: 4 kB / 0.5764 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.04402, allocations: 0 / 0.5764 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.04402, allocations: 0 / 0.5764 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.0442, allocations: 212.9 kB / 0.5766 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.0442, allocations: 0 / 0.5766 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.04431, allocations: 59.91 kB / 0.5767 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.04431, allocations: 4 kB / 0.5767 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.04432, allocations: 8 kB / 0.5767 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.04432, allocations: 4 kB / 0.5767 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.04432, allocations: 0 / 0.5767 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.04457, allocations: 253.3 kB / 0.577 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.04465, allocations: 67.69 kB / 0.577 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.04467, allocations: 8 kB / 0.577 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.04475, allocations: 15.98 kB / 0.577 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.04479, allocations: 31.81 kB / 0.5771 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.04481, allocations: 15.98 kB / 0.5771 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.04489, allocations: 189.1 kB / 0.5773 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.04489, allocations: 0 / 0.5773 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002007/0.04509, allocations: 59.94 kB / 0.5773 GB, free: 13.34 MB / 0.4948 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007216/0.04581, allocations: 347.5 kB / 0.5777 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.04601, allocations: 147.8 kB / 0.5778 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.04602, allocations: 3.938 kB / 0.5778 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.04611, allocations: 95.48 kB / 0.5779 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.04632, allocations: 60.2 kB / 0.578 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.04713, allocations: 468.8 kB / 0.5784 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.04718, allocations: 94.12 kB / 0.5785 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.04733, allocations: 90.92 kB / 0.5786 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.04751, allocations: 162.1 kB / 0.5787 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.04752, allocations: 0 / 0.5787 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.005427/0.05294, allocations: 3.725 MB / 0.5824 GB, free: 8.312 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5951541401445866]