Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006439/0.006446, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001772/0.001772, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.569/2.569, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2599, allocations: 162.3 MB / 1.242 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00275/0.2627, allocations: 1.865 MB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2646, allocations: 1.592 MB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.2647, allocations: 0 / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.2649, allocations: 27.77 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.2651, allocations: 79.56 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.2655, allocations: 170.9 kB / 1.246 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.2658, allocations: 281.4 kB / 1.246 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.2659, allocations: 29.09 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.266, allocations: 103.8 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.2662, allocations: 111.6 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2663, allocations: 20 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.2664, allocations: 79.97 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.2665, allocations: 83.81 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2667, allocations: 127.2 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.267, allocations: 334.6 kB / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.267, allocations: 0 / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.267, allocations: 0 / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.267, allocations: 0 / 1.247 GB, free: 4.902 MB / 0.9981 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.0006979/0.2677, allocations: 0.575 MB / 1.247 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2678, allocations: 12.03 kB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.2678, allocations: 54.67 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.268, allocations: 32.75 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.2682, allocations: 274.9 kB / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2683, allocations: 12.38 kB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.2683, allocations: 23.94 kB / 1.248 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2687, allocations: 244.8 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2687, allocations: 0 / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2687, allocations: 12 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2687, allocations: 4 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/0.2696, allocations: 0.7451 MB / 1.249 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.2705, allocations: 0.6293 MB / 1.249 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.2709, allocations: 318.4 kB / 1.249 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2711, allocations: 109.4 kB / 1.25 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.2711, allocations: 20.25 kB / 1.25 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.2714, allocations: 183.4 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.2714, allocations: 0 / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0006102/0.2721, allocations: 382.3 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.2722, allocations: 140.4 kB / 1.25 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.2724, allocations: 309 kB / 1.251 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2725, allocations: 29.7 kB / 1.251 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.2726, allocations: 136.6 kB / 1.251 GB, free: 476 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.2727, allocations: 126.9 kB / 1.251 GB, free: 348 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.2727, allocations: 65.69 kB / 1.251 GB, free: 276 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.4603/0.733, allocations: 335.8 kB / 1.251 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.7332, allocations: 77.45 kB / 1.251 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.7334, allocations: 131.7 kB / 1.251 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.7337, allocations: 209.6 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7338, allocations: 1.875 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004265/0.7342, allocations: 284.4 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7342, allocations: 8.703 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7342, allocations: 1.094 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7342, allocations: 1.938 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.7345, allocations: 63.94 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7345, allocations: 6.469 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.7346, allocations: 27.59 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.7347, allocations: 17.33 kB / 1.252 GB, free: 14.73 MB / 0.9981 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.0001368/0.7348, allocations: 164.6 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.7349, allocations: 29.03 kB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.7355, allocations: 380.5 kB / 1.253 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7355, allocations: 3.906 kB / 1.253 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7355, allocations: 6.219 kB / 1.253 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7355, allocations: 3.125 kB / 1.253 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.7358, allocations: 351.2 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7358, allocations: 1.156 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.736, allocations: 60.12 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.736, allocations: 1.594 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.736, allocations: 10.36 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.736, allocations: 1.391 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.736, allocations: 7.625 kB / 1.253 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.7364, allocations: 330.4 kB / 1.253 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.7365, allocations: 149.3 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.7366, allocations: 5.297 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.7368, allocations: 26.45 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.7368, allocations: 25.5 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.7369, allocations: 16.28 kB / 1.254 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001759/0.737, allocations: 239.4 kB / 1.254 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/0.737, allocations: 2.688 kB / 1.254 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002828/0.7373, allocations: 66.11 kB / 1.254 GB, free: 14.08 MB / 0.9981 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.001671/0.739, allocations: 1.163 MB / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.7394, allocations: 239.5 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7394, allocations: 0.7812 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.7396, allocations: 133.1 kB / 1.255 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.7398, allocations: 43.58 kB / 1.255 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.7422, allocations: 2.522 MB / 1.258 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.7424, allocations: 0.7654 MB / 1.259 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.7427, allocations: 150.7 kB / 1.259 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.7428, allocations: 97.42 kB / 1.259 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of SimCode: time 1.91e-07/0.7428, allocations: 0 / 1.259 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.9824, allocations: 6.029 MB / 1.265 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.13, allocations: 12.55 kB / 1.265 GB, free: 10.02 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)