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.001349/0.001349, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 195 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002151/0.002151, allocations: 282.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8696/0.8696, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 100.1 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 86.97 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002093/0.1347, allocations: 1.262 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4165/0.5512, allocations: 137.7 MB / 0.816 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.5512, allocations: 3.719 kB / 0.816 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.5513, allocations: 5.625 kB / 0.816 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.5513, allocations: 4.297 kB / 0.816 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.5523, allocations: 466.6 kB / 0.8164 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.5523, allocations: 42.75 kB / 0.8165 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.5524, allocations: 2.812 kB / 0.8165 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.5524, allocations: 21.31 kB / 0.8165 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.5525, allocations: 19.55 kB / 0.8165 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5525, allocations: 2.812 kB / 0.8165 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.5537, allocations: 0.8123 MB / 0.8173 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5537, allocations: 12.83 kB / 0.8173 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.5538, allocations: 17.41 kB / 0.8173 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.5542, allocations: 443.5 kB / 0.8178 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5543, allocations: 0 / 0.8178 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5543, allocations: 0 / 0.8178 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5543, allocations: 3.578 kB / 0.8178 GB, free: 2.195 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.0004881/0.5548, allocations: 367.8 kB / 0.8181 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.5548, allocations: 8.688 kB / 0.8181 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.5548, allocations: 34.92 kB / 0.8182 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.555, allocations: 17.5 kB / 0.8182 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/0.5551, allocations: 167.2 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.5551, allocations: 7.75 kB / 0.8183 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.5551, allocations: 6.531 kB / 0.8184 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5552, allocations: 56 kB / 0.8184 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.5552, allocations: 0 / 0.8184 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5553, allocations: 3.625 kB / 0.8184 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5553, allocations: 3.5 kB / 0.8184 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.5553, allocations: 18.25 kB / 0.8184 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.5555, allocations: 166.8 kB / 0.8186 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.5555, allocations: 55.66 kB / 0.8186 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.5556, allocations: 22.08 kB / 0.8187 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.5666, allocations: 3.171 MB / 0.8218 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5666, allocations: 35.66 kB / 0.8218 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.5666, allocations: 0 / 0.8218 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0393/0.6059, allocations: 14.87 MB / 0.8363 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.606, allocations: 54.16 kB / 0.8364 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.6061, allocations: 95.98 kB / 0.8365 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.6061, allocations: 25.7 kB / 0.8365 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.6061, allocations: 88.27 kB / 0.8366 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.6062, allocations: 46.52 kB / 0.8366 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6062, allocations: 31.39 kB / 0.8366 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.6063, allocations: 320.1 kB / 0.8369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.6063, allocations: 24.77 kB / 0.837 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.6064, allocations: 24.3 kB / 0.837 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.6065, allocations: 58.11 kB / 0.837 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6065, allocations: 0 / 0.837 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001926/0.6067, allocations: 114.9 kB / 0.8372 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6067, allocations: 6.312 kB / 0.8372 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.6067, allocations: 4.109 kB / 0.8372 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.6067, allocations: 0.5 kB / 0.8372 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.6068, allocations: 27.61 kB / 0.8372 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6069, allocations: 0 / 0.8372 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.6069, allocations: 5.719 kB / 0.8372 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.6069, allocations: 4.188 kB / 0.8372 GB, free: 12.37 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 6.914e-05/0.607, allocations: 119.6 kB / 0.8373 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.607, allocations: 6.562 kB / 0.8373 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.6073, allocations: 129.8 kB / 0.8374 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.6073, allocations: 2.719 kB / 0.8375 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6073, allocations: 3.984 kB / 0.8375 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6073, allocations: 0 / 0.8375 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.6074, allocations: 178.9 kB / 0.8376 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6074, allocations: 5.203 kB / 0.8376 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.6076, allocations: 24.14 kB / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6076, allocations: 0 / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.6076, allocations: 6.75 kB / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6076, allocations: 0 / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6076, allocations: 0 / 0.8377 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.6078, allocations: 157.1 kB / 0.8378 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.6079, allocations: 89.59 kB / 0.8379 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6079, allocations: 6.312 kB / 0.8379 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6081, allocations: 14.11 kB / 0.8379 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.6081, allocations: 7.234 kB / 0.8379 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6081, allocations: 5.062 kB / 0.8379 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.6081, allocations: 79.27 kB / 0.838 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6082, allocations: 0 / 0.838 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001254/0.6094, allocations: 0.5647 MB / 0.8386 GB, free: 11.68 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.002948/0.6124, allocations: 0.9406 MB / 0.8395 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.6125, allocations: 80.19 kB / 0.8395 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6125, allocations: 0 / 0.8395 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.6126, allocations: 34.72 kB / 0.8396 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.6128, allocations: 5.219 kB / 0.8396 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.6146, allocations: 1.547 MB / 0.8411 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.6148, allocations: 0.689 MB / 0.8418 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9e-05/0.6149, allocations: 23 kB / 0.8418 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.6149, allocations: 19.31 kB / 0.8418 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.615, allocations: 2.75 kB / 0.8418 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.6754, allocations: 25.43 MB / 0.8666 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.209, allocations: 14.05 kB / 0.8667 GB, free: 4.273 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)