Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_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.004361/0.004361, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001031/0.001031, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6307, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002576/0.6334, allocations: 1.859 MB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.6351, allocations: 1.591 MB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.6352, allocations: 2.062 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.6353, allocations: 25.66 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.6356, allocations: 76.67 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.636, allocations: 177.3 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.6362, allocations: 287.1 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.6363, allocations: 32.66 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.6364, allocations: 96.36 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.6366, allocations: 108 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.6367, allocations: 23.78 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.6368, allocations: 79.14 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.6369, allocations: 91.27 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.998e-05/0.637, allocations: 120.3 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.6374, allocations: 326.2 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6374, allocations: 1.516 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6374, allocations: 3.938 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.6374, allocations: 4.656 kB / 1.092 GB, free: 2.18 MB / 0.8575 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.0005862/0.638, allocations: 0.5553 MB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.638, allocations: 14.81 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.6381, allocations: 50.83 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6382, allocations: 32.77 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.6385, allocations: 278.5 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6385, allocations: 15.97 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.6385, allocations: 23.78 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.6389, allocations: 240.8 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6389, allocations: 5.125 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.6389, allocations: 6.062 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6389, allocations: 4.062 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.6399, allocations: 0.7451 MB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.6409, allocations: 0.6413 MB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.6414, allocations: 310.6 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.6416, allocations: 112.4 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.6417, allocations: 17.88 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.642, allocations: 180.4 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.642, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0007026/0.6427, allocations: 375.2 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6428, allocations: 138.3 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.6431, allocations: 313.4 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.6431, allocations: 31.58 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.6432, allocations: 137.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/0.6433, allocations: 123.1 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.6434, allocations: 62.06 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6435, allocations: 343.4 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6437, allocations: 80.56 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.6439, allocations: 138.5 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.6443, allocations: 210.1 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6443, allocations: 0 / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004544/0.6447, allocations: 284.5 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6448, allocations: 9.469 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6448, allocations: 0 / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6448, allocations: 5.641 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.645, allocations: 57.55 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.645, allocations: 9.047 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.6452, allocations: 28.11 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.6452, allocations: 14.92 kB / 1.098 GB, free: 15.04 MB / 0.8731 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.0001527/0.6454, allocations: 158.3 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.6454, allocations: 37.61 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.6461, allocations: 381.8 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6462, allocations: 5.125 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.6462, allocations: 4 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6462, allocations: 1.594 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.6465, allocations: 340 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6465, allocations: 4.609 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.6467, allocations: 61.55 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6468, allocations: 6.031 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6468, allocations: 10.31 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6468, allocations: 1.969 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6468, allocations: 0 / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.6473, allocations: 326.5 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.6475, allocations: 148 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.6475, allocations: 18.31 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.6477, allocations: 23.28 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.6478, allocations: 25.48 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.6478, allocations: 19 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002124/0.648, allocations: 237.4 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.648, allocations: 1.062 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003108/0.6484, allocations: 66.97 kB / 1.099 GB, free: 13.98 MB / 0.8731 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.001496/0.6499, allocations: 1.16 MB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.6503, allocations: 229.9 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6503, allocations: 0 / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.6505, allocations: 134.5 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.6508, allocations: 45.08 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.6537, allocations: 2.513 MB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.654, allocations: 0.7621 MB / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000319/0.6543, allocations: 143.2 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.6544, allocations: 96.94 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.6544, allocations: 0 / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.261/2.915, allocations: 6.029 MB / 1.11 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.231/12.15, allocations: 17.39 kB / 1.11 GB, free: 9.754 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)