Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001064/0.001065, allocations: 108.5 kB / 16.27 MB, free: 6.41 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.001083/0.001083, allocations: 186.4 kB / 17.2 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3836, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002507/0.3861, allocations: 1.25 MB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1591/0.5453, allocations: 137.7 MB / 0.7029 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.5454, allocations: 4 kB / 0.7029 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.5454, allocations: 7.922 kB / 0.7029 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.5456, allocations: 3.938 kB / 0.703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.547, allocations: 458.4 kB / 0.7034 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.5471, allocations: 39.84 kB / 0.7034 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.5472, allocations: 4 kB / 0.7034 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.5472, allocations: 27.92 kB / 0.7035 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.5473, allocations: 19.91 kB / 0.7035 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5473, allocations: 4 kB / 0.7035 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.549, allocations: 0.8114 MB / 0.7043 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.549, allocations: 4 kB / 0.7043 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.5491, allocations: 19.92 kB / 0.7043 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.5499, allocations: 445.4 kB / 0.7047 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.5499, allocations: 0 / 0.7047 GB, free: 13.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5499, allocations: 0 / 0.7047 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5499, allocations: 0 / 0.7047 GB, free: 13.58 MB / 0.545 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.0005911/0.5505, allocations: 375.4 kB / 0.7051 GB, free: 13.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5506, allocations: 16.61 kB / 0.7051 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.5506, allocations: 30.75 kB / 0.7051 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.5508, allocations: 12.94 kB / 0.7051 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5509, allocations: 168.3 kB / 0.7053 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.551, allocations: 8.375 kB / 0.7053 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.551, allocations: 7.938 kB / 0.7053 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.5512, allocations: 57.61 kB / 0.7054 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5512, allocations: 0 / 0.7054 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5512, allocations: 4 kB / 0.7054 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5512, allocations: 0 / 0.7054 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.5513, allocations: 19.98 kB / 0.7054 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.5515, allocations: 165.6 kB / 0.7055 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5516, allocations: 54.44 kB / 0.7056 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.5516, allocations: 21.08 kB / 0.7056 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.5631, allocations: 3.17 MB / 0.7087 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.5632, allocations: 38.55 kB / 0.7088 GB, free: 9.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.5632, allocations: 3.938 kB / 0.7088 GB, free: 9.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04438/0.6076, allocations: 14.85 MB / 0.7233 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.6076, allocations: 55.41 kB / 0.7233 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.6077, allocations: 89.86 kB / 0.7234 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.6078, allocations: 29.7 kB / 0.7234 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.6078, allocations: 92.06 kB / 0.7235 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.6079, allocations: 35.41 kB / 0.7235 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.6079, allocations: 33.7 kB / 0.7236 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6081, allocations: 318.8 kB / 0.7239 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.6082, allocations: 24.11 kB / 0.7239 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.6082, allocations: 29.17 kB / 0.7239 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.6084, allocations: 71.28 kB / 0.724 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6084, allocations: 3.938 kB / 0.724 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002237/0.6086, allocations: 101.6 kB / 0.7241 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6086, allocations: 8 kB / 0.7241 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6086, allocations: 0 / 0.7241 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6087, allocations: 0 / 0.7241 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6088, allocations: 35.92 kB / 0.7241 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6088, allocations: 0 / 0.7241 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.6088, allocations: 0 / 0.7241 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6089, allocations: 8 kB / 0.7242 GB, free: 9.215 MB / 0.5606 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 0.0001012/0.609, allocations: 117.8 kB / 0.7243 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.609, allocations: 4 kB / 0.7243 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.6093, allocations: 125.5 kB / 0.7244 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6093, allocations: 7.938 kB / 0.7244 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6094, allocations: 0 / 0.7244 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6094, allocations: 0 / 0.7244 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.6095, allocations: 181.6 kB / 0.7246 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6095, allocations: 0 / 0.7246 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.6097, allocations: 23.98 kB / 0.7246 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6097, allocations: 0 / 0.7246 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.6097, allocations: 8 kB / 0.7246 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6097, allocations: 0 / 0.7246 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6097, allocations: 0 / 0.7246 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.61, allocations: 160.9 kB / 0.7248 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.6101, allocations: 89.05 kB / 0.7248 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.6102, allocations: 7.938 kB / 0.7248 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.6103, allocations: 11.98 kB / 0.7249 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.6103, allocations: 7.938 kB / 0.7249 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6104, allocations: 11.98 kB / 0.7249 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.6104, allocations: 79.28 kB / 0.725 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6104, allocations: 0 / 0.725 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001742/0.6121, allocations: 0.5663 MB / 0.7255 GB, free: 7.727 MB / 0.5606 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.004324/0.6165, allocations: 0.9319 MB / 0.7264 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.6167, allocations: 67.97 kB / 0.7265 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6167, allocations: 4 kB / 0.7265 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.6168, allocations: 39.92 kB / 0.7265 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.6169, allocations: 8 kB / 0.7265 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6194, allocations: 1.543 MB / 0.728 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.6196, allocations: 0.6923 MB / 0.7287 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.6198, allocations: 24.53 kB / 0.7287 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.6198, allocations: 23.44 kB / 0.7288 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.6198, allocations: 0 / 0.7288 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3661/0.9859, allocations: 25.39 MB / 0.7536 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/9.302, allocations: 1.25 kB / 0.7536 GB, free: 151.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)