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.001981/0.001981, allocations: 116.7 kB / 16.37 MB, free: 6 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.002505/0.002505, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.65/1.65, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002298/0.002298, allocations: 278.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 95.08 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2467, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004172/0.251, allocations: 1.871 MB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.2535, allocations: 1.585 MB / 0.685 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.2536, allocations: 3.938 kB / 0.685 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2538, allocations: 27.8 kB / 0.685 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.2542, allocations: 75.59 kB / 0.6851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.2546, allocations: 174.9 kB / 0.6853 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.255, allocations: 285.4 kB / 0.6855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2551, allocations: 29.05 kB / 0.6856 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2552, allocations: 99.75 kB / 0.6856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.2555, allocations: 103.7 kB / 0.6857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.2555, allocations: 20 kB / 0.6858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2557, allocations: 91.91 kB / 0.6859 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2558, allocations: 87.73 kB / 0.6859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.256, allocations: 123.3 kB / 0.6861 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.2565, allocations: 326.9 kB / 0.6864 GB, free: 2.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2565, allocations: 0 / 0.6864 GB, free: 2.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2565, allocations: 3.938 kB / 0.6864 GB, free: 2.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2565, allocations: 0 / 0.6864 GB, free: 2.57 MB / 494.1 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.0008511/0.2574, allocations: 0.554 MB / 0.6869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2574, allocations: 12.02 kB / 0.6869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.2576, allocations: 36.56 kB / 0.687 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.2579, allocations: 278.7 kB / 0.6872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.258, allocations: 12.38 kB / 0.6872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.258, allocations: 24.12 kB / 0.6873 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.2584, allocations: 232.9 kB / 0.6875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2585, allocations: 0 / 0.6875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.2585, allocations: 11.98 kB / 0.6875 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2585, allocations: 8 kB / 0.6875 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/0.2594, allocations: 0.7529 MB / 0.6882 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4909/0.7503, allocations: 0.6233 MB / 0.6888 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.7512, allocations: 307.6 kB / 0.6891 GB, free: 18.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.7514, allocations: 113.3 kB / 0.6892 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.7515, allocations: 16.05 kB / 0.6893 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.7519, allocations: 179.7 kB / 0.6894 GB, free: 18.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.752, allocations: 0 / 0.6894 GB, free: 18.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008912/0.7529, allocations: 383.5 kB / 0.6898 GB, free: 18.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.7529, allocations: 137.1 kB / 0.6899 GB, free: 17.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.7534, allocations: 308 kB / 0.6902 GB, free: 17.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.7534, allocations: 33.8 kB / 0.6903 GB, free: 17.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.7536, allocations: 133.1 kB / 0.6904 GB, free: 17.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.7537, allocations: 119.4 kB / 0.6905 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.7539, allocations: 65.06 kB / 0.6906 GB, free: 17.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.754, allocations: 338.9 kB / 0.6909 GB, free: 17.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7542, allocations: 78.81 kB / 0.691 GB, free: 17.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.7544, allocations: 133 kB / 0.6911 GB, free: 17.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.7548, allocations: 215 kB / 0.6913 GB, free: 17.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7549, allocations: 4.703 kB / 0.6913 GB, free: 17.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005642/0.7554, allocations: 283.3 kB / 0.6916 GB, free: 17.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.7555, allocations: 5.328 kB / 0.6916 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.7555, allocations: 0.875 kB / 0.6916 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.7555, allocations: 11.28 kB / 0.6916 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.7558, allocations: 67.34 kB / 0.6916 GB, free: 17.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7558, allocations: 1.625 kB / 0.6916 GB, free: 17.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.756, allocations: 23 kB / 0.6917 GB, free: 17.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.756, allocations: 14.8 kB / 0.6917 GB, free: 17.09 MB / 494.1 MB 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.0001657/0.7562, allocations: 162 kB / 0.6918 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.7563, allocations: 26.94 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.7571, allocations: 393.4 kB / 0.6922 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7571, allocations: 4.438 kB / 0.6922 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7571, allocations: 0 / 0.6922 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7571, allocations: 4.703 kB / 0.6922 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.7576, allocations: 344.1 kB / 0.6926 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7576, allocations: 0 / 0.6926 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.7578, allocations: 59.28 kB / 0.6926 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7578, allocations: 1.812 kB / 0.6926 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.7578, allocations: 13.91 kB / 0.6926 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7578, allocations: 3.469 kB / 0.6926 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7578, allocations: 0 / 0.6926 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.7584, allocations: 327 kB / 0.693 GB, free: 16.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.7587, allocations: 147.8 kB / 0.6931 GB, free: 16.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.7587, allocations: 11.27 kB / 0.6931 GB, free: 16.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.7589, allocations: 29.05 kB / 0.6931 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.759, allocations: 24.27 kB / 0.6932 GB, free: 16.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.7591, allocations: 16.5 kB / 0.6932 GB, free: 16.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.7593, allocations: 236.9 kB / 0.6934 GB, free: 16.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7593, allocations: 0 / 0.6934 GB, free: 16.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.7597, allocations: 62.62 kB / 0.6935 GB, free: 16.09 MB / 494.1 MB 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.001054/0.7608, allocations: 420 kB / 0.6939 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.7613, allocations: 228.7 kB / 0.6941 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7613, allocations: 1.219 kB / 0.6941 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.7616, allocations: 138.7 kB / 0.6942 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.7619, allocations: 44.73 kB / 0.6943 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.763, allocations: 0.5202 MB / 0.6948 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.7633, allocations: 0.7643 MB / 0.6955 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004276/0.7637, allocations: 146.1 kB / 0.6957 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.7638, allocations: 42.05 kB / 0.6957 GB, free: 14.8 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7638, allocations: 0 / 0.6957 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Templates: time 0.01084/0.7747, allocations: 3.404 MB / 0.699 GB, free: 14.51 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)