Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001149/0.001149, allocations: 191.7 kB / 16.25 MB, free: 6.617 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001935/0.001935, allocations: 282.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8753/0.8753, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 88.42 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001891/0.133, allocations: 1.314 MB / 0.681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3827/0.5157, allocations: 135.7 MB / 0.8136 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.5158, allocations: 1.094 kB / 0.8136 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.5158, allocations: 0 / 0.8136 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.5159, allocations: 5.094 kB / 0.8136 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.5168, allocations: 414.3 kB / 0.814 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.5169, allocations: 39.41 kB / 0.814 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.5169, allocations: 3.609 kB / 0.814 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.517, allocations: 24.28 kB / 0.814 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.517, allocations: 24.27 kB / 0.814 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.5171, allocations: 0 / 0.814 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5181, allocations: 0.8119 MB / 0.8148 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.5182, allocations: 14.91 kB / 0.8149 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.5182, allocations: 15.22 kB / 0.8149 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.5186, allocations: 446.9 kB / 0.8153 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5186, allocations: 1.094 kB / 0.8153 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5186, allocations: 0 / 0.8153 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5187, allocations: 1.344 kB / 0.8153 GB, free: 1.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004657/0.5191, allocations: 370.5 kB / 0.8156 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5192, allocations: 8.625 kB / 0.8157 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.5192, allocations: 33.47 kB / 0.8157 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.5194, allocations: 16.23 kB / 0.8157 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.5195, allocations: 170 kB / 0.8159 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.5195, allocations: 4.562 kB / 0.8159 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.5195, allocations: 15.12 kB / 0.8159 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5196, allocations: 51.88 kB / 0.8159 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5196, allocations: 0 / 0.8159 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.5196, allocations: 3.469 kB / 0.8159 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5197, allocations: 6.234 kB / 0.8159 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.5197, allocations: 18.78 kB / 0.816 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.5198, allocations: 163.9 kB / 0.8161 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.5199, allocations: 56.12 kB / 0.8162 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.52, allocations: 21.55 kB / 0.8162 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009804/0.5298, allocations: 3.163 MB / 0.8193 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.5298, allocations: 36.27 kB / 0.8193 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.5298, allocations: 4 kB / 0.8193 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.03424/0.5641, allocations: 14.86 MB / 0.8338 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5641, allocations: 54 kB / 0.8339 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.5642, allocations: 97.16 kB / 0.834 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.5642, allocations: 28.81 kB / 0.834 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.5643, allocations: 80.14 kB / 0.8341 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.5643, allocations: 47.98 kB / 0.8341 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.5643, allocations: 34.22 kB / 0.8342 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5645, allocations: 321.3 kB / 0.8345 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.5645, allocations: 27.38 kB / 0.8345 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.5646, allocations: 24.67 kB / 0.8345 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.5647, allocations: 61.23 kB / 0.8346 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5647, allocations: 0 / 0.8346 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001801/0.5648, allocations: 108.6 kB / 0.8347 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5649, allocations: 6.844 kB / 0.8347 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5649, allocations: 4 kB / 0.8347 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5649, allocations: 2.719 kB / 0.8347 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.565, allocations: 29.23 kB / 0.8347 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.565, allocations: 6.391 kB / 0.8347 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.565, allocations: 0 / 0.8347 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.565, allocations: 4.906 kB / 0.8347 GB, free: 12.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.409e-05/0.5651, allocations: 124 kB / 0.8348 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.5652, allocations: 3.188 kB / 0.8348 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.5654, allocations: 133.2 kB / 0.835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5654, allocations: 0 / 0.835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5654, allocations: 3.188 kB / 0.835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5654, allocations: 0 / 0.835 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.5656, allocations: 177.4 kB / 0.8351 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5656, allocations: 2.344 kB / 0.8351 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5657, allocations: 25.8 kB / 0.8352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5657, allocations: 2.688 kB / 0.8352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5657, allocations: 3.312 kB / 0.8352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5657, allocations: 2.125 kB / 0.8352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5657, allocations: 0 / 0.8352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.566, allocations: 162.8 kB / 0.8353 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.566, allocations: 89.36 kB / 0.8354 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5661, allocations: 0 / 0.8354 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5662, allocations: 19.42 kB / 0.8354 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.5662, allocations: 8.797 kB / 0.8354 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5662, allocations: 4.719 kB / 0.8355 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.5663, allocations: 78.47 kB / 0.8355 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5663, allocations: 0 / 0.8355 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001153/0.5674, allocations: 0.5655 MB / 0.8361 GB, free: 11.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003002/0.5704, allocations: 0.9429 MB / 0.837 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5706, allocations: 74.08 kB / 0.8371 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5706, allocations: 0 / 0.8371 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.5707, allocations: 36.8 kB / 0.8371 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.5708, allocations: 5.375 kB / 0.8371 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.5726, allocations: 1.554 MB / 0.8386 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.5728, allocations: 0.6931 MB / 0.8393 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.5728, allocations: 22.72 kB / 0.8393 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.5729, allocations: 22 kB / 0.8393 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5729, allocations: 0 / 0.8393 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.9/2.473, allocations: 25.36 MB / 0.8641 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/2.473, allocations: 197.8 kB / 0.8643 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/5.184, allocations: 0 / 0.8643 GB, free: 4.391 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)