Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009223/0.0009222, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.487/0.487, allocations: 90.91 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008012/0.0008012, allocations: 101.7 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.706e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5167, allocations: 105.6 MB / 0.6567 GB, free: 4.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.517, allocations: 89.88 kB / 0.6568 GB, free: 4.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.5394, allocations: 8.818 MB / 0.6654 GB, free: 13.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5395, allocations: 0 / 0.6654 GB, free: 13.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.5395, allocations: 4 kB / 0.6655 GB, free: 13.2 MB / 474.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.0006557/0.5402, allocations: 0.5042 MB / 0.6659 GB, free: 12.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5402, allocations: 8.031 kB / 0.666 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.5404, allocations: 39.58 kB / 0.666 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.5408, allocations: 275.8 kB / 0.6663 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.5409, allocations: 4 kB / 0.6663 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.5409, allocations: 12 kB / 0.6663 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008832/0.5418, allocations: 0.7394 MB / 0.667 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.5422, allocations: 195.9 kB / 0.6672 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5422, allocations: 3.938 kB / 0.6672 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.5422, allocations: 8 kB / 0.6672 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5422, allocations: 7.953 kB / 0.6672 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.5432, allocations: 0.5577 MB / 0.6677 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.5436, allocations: 279.1 kB / 0.668 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5437, allocations: 95.09 kB / 0.6681 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.5438, allocations: 23.64 kB / 0.6681 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.544, allocations: 162.2 kB / 0.6683 GB, free: 10.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.5441, allocations: 1.125 kB / 0.6683 GB, free: 10.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004466/0.5445, allocations: 268.2 kB / 0.6685 GB, free: 10.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.5446, allocations: 136.3 kB / 0.6687 GB, free: 10.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.5448, allocations: 259.6 kB / 0.6689 GB, free: 9.953 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.5449, allocations: 25.7 kB / 0.6689 GB, free: 9.922 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.545, allocations: 135.3 kB / 0.6691 GB, free: 9.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.5451, allocations: 106.9 kB / 0.6692 GB, free: 9.723 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.5451, allocations: 0 / 0.6692 GB, free: 9.723 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5452, allocations: 339.2 kB / 0.6695 GB, free: 9.395 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.5453, allocations: 74.22 kB / 0.6696 GB, free: 9.344 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5455, allocations: 126.8 kB / 0.6697 GB, free: 9.238 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.5456, allocations: 92.44 kB / 0.6698 GB, free: 9.176 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5456, allocations: 3.938 kB / 0.6698 GB, free: 9.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003545/0.546, allocations: 252.9 kB / 0.67 GB, free: 8.965 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.546, allocations: 15.94 kB / 0.67 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.546, allocations: 0 / 0.67 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.546, allocations: 0 / 0.67 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.5462, allocations: 63.59 kB / 0.6701 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5463, allocations: 4 kB / 0.6701 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.5464, allocations: 31.67 kB / 0.6701 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.5465, allocations: 11.38 kB / 0.6701 GB, free: 8.848 MB / 474.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.tNext,conTim.tNext) * 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 9.004e-05/0.5466, allocations: 108.9 kB / 0.6702 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003618/0.5469, allocations: 264.6 kB / 0.6705 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.547, allocations: 27.67 kB / 0.6705 GB, free: 8.492 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.5476, allocations: 376 kB / 0.6709 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5476, allocations: 8.031 kB / 0.6709 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5476, allocations: 0 / 0.6709 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5476, allocations: 0 / 0.6709 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.5479, allocations: 314.5 kB / 0.6712 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5479, allocations: 0 / 0.6712 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.5481, allocations: 63.84 kB / 0.6712 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5481, allocations: 0 / 0.6712 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5481, allocations: 7.953 kB / 0.6712 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5481, allocations: 4 kB / 0.6713 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5481, allocations: 0 / 0.6713 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.5485, allocations: 304.7 kB / 0.6715 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.5487, allocations: 160.5 kB / 0.6717 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.5487, allocations: 4 kB / 0.6717 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.5489, allocations: 23.94 kB / 0.6717 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.549, allocations: 23.95 kB / 0.6717 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.549, allocations: 15.31 kB / 0.6718 GB, free: 7.336 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.5492, allocations: 213 kB / 0.672 GB, free: 7.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5492, allocations: 3.938 kB / 0.672 GB, free: 7.172 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.5495, allocations: 67.17 kB / 0.672 GB, free: 7.109 MB / 474.7 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) * 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.001332/0.5508, allocations: 1.082 MB / 0.6731 GB, free: 6.145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.5512, allocations: 212.2 kB / 0.6733 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5512, allocations: 6.562 kB / 0.6733 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.5513, allocations: 119.5 kB / 0.6734 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5516, allocations: 30.62 kB / 0.6734 GB, free: 5.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.5524, allocations: 474.5 kB / 0.6739 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5528, allocations: 0.7679 MB / 0.6746 GB, free: 4.641 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000333/0.5531, allocations: 155.1 kB / 0.6748 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.5533, allocations: 100.7 kB / 0.6749 GB, free: 4.441 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5533, allocations: 0 / 0.6749 GB, free: 4.441 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/0.7726, allocations: 5.471 MB / 0.6802 GB, free: 15.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.7729, allocations: 200.9 kB / 0.6804 GB, free: 14.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.613, allocations: 6.672 kB / 0.6804 GB, free: 14.75 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)