Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6742/0.6742, allocations: 127.4 MB / 134.9 MB, free: 3.695 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 188.8 kB / 164.6 MB, free: 6.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.2 MB / 399.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008306/0.0008305, allocations: 86.42 kB / 476.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.866e-05, allocations: 4 kB / 0.5467 GB, free: 60.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 76.76 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5253, allocations: 105.6 MB / 0.7247 GB, free: 9.785 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5255, allocations: 90.56 kB / 0.7248 GB, free: 9.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.542, allocations: 6.473 MB / 0.7311 GB, free: 4.402 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.542, allocations: 0 / 0.7311 GB, free: 4.402 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.542, allocations: 11.88 kB / 0.7312 GB, free: 4.395 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005397/0.5426, allocations: 482 kB / 0.7316 GB, free: 3.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5426, allocations: 19.91 kB / 0.7316 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.5428, allocations: 39.56 kB / 0.7317 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.5431, allocations: 263.8 kB / 0.7319 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5431, allocations: 8 kB / 0.7319 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5431, allocations: 8 kB / 0.7319 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008111/0.5439, allocations: 0.7354 MB / 0.7327 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.5442, allocations: 186.6 kB / 0.7328 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5442, allocations: 0 / 0.7328 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.5443, allocations: 3.953 kB / 0.7328 GB, free: 2.727 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5443, allocations: 8 kB / 0.7328 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.5453, allocations: 0.5773 MB / 0.7334 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.5456, allocations: 278.1 kB / 0.7337 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.5458, allocations: 98.64 kB / 0.7338 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.5458, allocations: 23.5 kB / 0.7338 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.5461, allocations: 163 kB / 0.7339 GB, free: 1.762 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.5461, allocations: 0 / 0.7339 GB, free: 1.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004369/0.5465, allocations: 261.8 kB / 0.7342 GB, free: 1.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.5466, allocations: 81.11 kB / 0.7343 GB, free: 1.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.5469, allocations: 247.6 kB / 0.7345 GB, free: 1.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.5469, allocations: 25.7 kB / 0.7345 GB, free: 1.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.547, allocations: 130.4 kB / 0.7347 GB, free: 1.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.5471, allocations: 107.2 kB / 0.7348 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5471, allocations: 0 / 0.7348 GB, free: 1.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5472, allocations: 343.1 kB / 0.7351 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.5473, allocations: 70.67 kB / 0.7352 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5474, allocations: 96.25 kB / 0.7352 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5476, allocations: 96.12 kB / 0.7353 GB, free: 0.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5476, allocations: 0 / 0.7353 GB, free: 0.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003555/0.5479, allocations: 264.2 kB / 0.7356 GB, free: 292 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.548, allocations: 4 kB / 0.7356 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.548, allocations: 0 / 0.7356 GB, free: 288 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.548, allocations: 4 kB / 0.7356 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.5482, allocations: 67.5 kB / 0.7357 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5482, allocations: 0 / 0.7357 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.5483, allocations: 15.75 kB / 0.7357 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5484, allocations: 19.97 kB / 0.7357 GB, free: 184 kB / 490.7 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.456e-05/0.5485, allocations: 106 kB / 0.7358 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000381/0.5488, allocations: 260.7 kB / 0.736 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.5489, allocations: 27.72 kB / 0.7361 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.5495, allocations: 370.5 kB / 0.7364 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5495, allocations: 4 kB / 0.7364 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5495, allocations: 3.938 kB / 0.7364 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5496, allocations: 3.938 kB / 0.7364 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.5498, allocations: 296.8 kB / 0.7367 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5498, allocations: 0 / 0.7367 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.55, allocations: 63.41 kB / 0.7368 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.55, allocations: 3.953 kB / 0.7368 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.5501, allocations: 11.98 kB / 0.7368 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5501, allocations: 8 kB / 0.7368 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5501, allocations: 0 / 0.7368 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.5505, allocations: 285.5 kB / 0.7371 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.5506, allocations: 153.9 kB / 0.7372 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.5507, allocations: 11.77 kB / 0.7372 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5508, allocations: 19.98 kB / 0.7373 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.5509, allocations: 23.83 kB / 0.7373 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.5509, allocations: 14.73 kB / 0.7373 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001734/0.5511, allocations: 200.8 kB / 0.7375 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5511, allocations: 0 / 0.7375 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002873/0.5514, allocations: 63.83 kB / 0.7375 GB, free: 14.49 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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 (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.001283/0.5527, allocations: 1.08 MB / 0.7386 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.553, allocations: 200.5 kB / 0.7388 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.553, allocations: 3.938 kB / 0.7388 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.5532, allocations: 119.7 kB / 0.7389 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5534, allocations: 30.05 kB / 0.7389 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.5543, allocations: 461.4 kB / 0.7394 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5546, allocations: 0.7723 MB / 0.7401 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003214/0.555, allocations: 151.1 kB / 0.7403 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.5551, allocations: 96.45 kB / 0.7404 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of SimCode: time 2.91e-07/0.5551, allocations: 4 kB / 0.7404 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/0.7442, allocations: 5.019 MB / 0.7453 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.7444, allocations: 217.5 kB / 0.7455 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.595, allocations: 0 / 0.7455 GB, free: 6.539 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)