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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.00181/0.00181, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002607/0.002607, allocations: 285.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.001991, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.445, allocations: 86.96 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00324/0.4482, allocations: 1.877 MB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.4504, allocations: 1.577 MB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.4505, allocations: 7.875 kB / 0.7704 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.4508, allocations: 35.77 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.4511, allocations: 79.62 kB / 0.7705 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.4516, allocations: 172.1 kB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.4519, allocations: 289.3 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.452, allocations: 32.84 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4521, allocations: 91.81 kB / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.4524, allocations: 111.7 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.4524, allocations: 20 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.4526, allocations: 91.89 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.4527, allocations: 91.73 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4528, allocations: 115.3 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.4532, allocations: 325.6 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4532, allocations: 0 / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4532, allocations: 3.938 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4532, allocations: 0 / 0.7718 GB, free: 15.03 MB / 0.545 GB 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.0008309/0.4541, allocations: 0.5656 MB / 0.7724 GB, free: 14.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.4541, allocations: 8.031 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.4542, allocations: 28.66 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.4545, allocations: 278.7 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4546, allocations: 12.38 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4546, allocations: 24.12 kB / 0.7727 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.455, allocations: 232.9 kB / 0.7729 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.455, allocations: 4 kB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.455, allocations: 8 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.455, allocations: 8 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.4559, allocations: 0.7489 MB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.4569, allocations: 0.6254 MB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.4574, allocations: 313.9 kB / 0.7746 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4575, allocations: 109.4 kB / 0.7747 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.4576, allocations: 24.23 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.458, allocations: 179.4 kB / 0.7749 GB, free: 11.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.458, allocations: 0 / 0.7749 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0006464/0.4586, allocations: 374.8 kB / 0.7753 GB, free: 11.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.4587, allocations: 144.4 kB / 0.7754 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.459, allocations: 309 kB / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.459, allocations: 33.69 kB / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4592, allocations: 136.5 kB / 0.7759 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.4592, allocations: 114.3 kB / 0.776 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.4594, allocations: 65.69 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4595, allocations: 346.8 kB / 0.7764 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4596, allocations: 87.81 kB / 0.7764 GB, free: 10.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.4598, allocations: 125.8 kB / 0.7766 GB, free: 9.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.4601, allocations: 221 kB / 0.7768 GB, free: 9.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4602, allocations: 0 / 0.7768 GB, free: 9.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004238/0.4606, allocations: 273.2 kB / 0.777 GB, free: 9.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4606, allocations: 4 kB / 0.777 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4606, allocations: 3.938 kB / 0.777 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4606, allocations: 4 kB / 0.777 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4609, allocations: 63.91 kB / 0.7771 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4609, allocations: 4 kB / 0.7771 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.461, allocations: 27.2 kB / 0.7771 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4611, allocations: 19.98 kB / 0.7771 GB, free: 9.316 MB / 0.545 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 0.000155/0.4612, allocations: 161.8 kB / 0.7773 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4613, allocations: 27.62 kB / 0.7773 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.462, allocations: 392.7 kB / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.462, allocations: 8.031 kB / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.462, allocations: 0 / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.462, allocations: 7.922 kB / 0.7777 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.4623, allocations: 337.3 kB / 0.778 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4624, allocations: 4 kB / 0.778 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4625, allocations: 55.97 kB / 0.7781 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4625, allocations: 0 / 0.7781 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4626, allocations: 23.92 kB / 0.7781 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4626, allocations: 3.938 kB / 0.7781 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4626, allocations: 0 / 0.7781 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.4631, allocations: 321.6 kB / 0.7784 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4632, allocations: 140.7 kB / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.4633, allocations: 15.94 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4634, allocations: 27.97 kB / 0.7786 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.4635, allocations: 27.91 kB / 0.7786 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4635, allocations: 8 kB / 0.7786 GB, free: 7.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002125/0.4638, allocations: 240.4 kB / 0.7789 GB, free: 7.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4638, allocations: 0 / 0.7789 GB, free: 7.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003028/0.4641, allocations: 67.92 kB / 0.7789 GB, free: 7.379 MB / 0.545 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.0009737/0.4651, allocations: 412.1 kB / 0.7793 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.4655, allocations: 236.1 kB / 0.7796 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4655, allocations: 0 / 0.7796 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.4657, allocations: 131.7 kB / 0.7797 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.466, allocations: 43.25 kB / 0.7797 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.4669, allocations: 0.5541 MB / 0.7803 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4672, allocations: 0.7575 MB / 0.781 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4674, allocations: 59.34 kB / 0.7811 GB, free: 5.285 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4674, allocations: 0 / 0.7811 GB, free: 5.285 MB / 0.545 GB Notification: Performance of Templates: time 0.007452/0.4748, allocations: 4.512 MB / 0.7855 GB, free: 0.8008 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)