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.001459/0.001459, allocations: 101 kB / 15.98 MB, free: 6.352 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.001617/0.001617, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001979/0.3066, allocations: 1.32 MB / 0.5573 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1151/0.4218, allocations: 135.7 MB / 0.6898 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.4219, allocations: 4 kB / 0.6898 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.4219, allocations: 11.86 kB / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.422, allocations: 4 kB / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.423, allocations: 401.5 kB / 0.6902 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.4231, allocations: 51.84 kB / 0.6902 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.265e-05/0.4231, allocations: 0 / 0.6902 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.4232, allocations: 27.97 kB / 0.6903 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.4232, allocations: 15.92 kB / 0.6903 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.4232, allocations: 0 / 0.6903 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4244, allocations: 0.8114 MB / 0.6911 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.4245, allocations: 7.984 kB / 0.6911 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4245, allocations: 19.92 kB / 0.6911 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.425, allocations: 449.4 kB / 0.6915 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.425, allocations: 0 / 0.6915 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.425, allocations: 0 / 0.6915 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.425, allocations: 0 / 0.6915 GB, free: 9.418 MB / 0.5294 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.0004181/0.4254, allocations: 371.5 kB / 0.6919 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4255, allocations: 12.03 kB / 0.6919 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.4255, allocations: 38.69 kB / 0.6919 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4257, allocations: 16.78 kB / 0.692 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.014e-05/0.4258, allocations: 164.4 kB / 0.6921 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-06/0.4258, allocations: 4.375 kB / 0.6921 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4258, allocations: 11.94 kB / 0.6921 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4259, allocations: 53.66 kB / 0.6922 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4259, allocations: 4 kB / 0.6922 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.426, allocations: 4 kB / 0.6922 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.426, allocations: 0 / 0.6922 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.426, allocations: 15.98 kB / 0.6922 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.4262, allocations: 165.6 kB / 0.6924 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.4263, allocations: 54.48 kB / 0.6924 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.4263, allocations: 16.86 kB / 0.6924 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009884/0.4362, allocations: 3.174 MB / 0.6955 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4362, allocations: 34.56 kB / 0.6956 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4362, allocations: 0 / 0.6956 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.03616/0.4724, allocations: 14.85 MB / 0.7101 GB, free: 6.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4725, allocations: 59.34 kB / 0.7101 GB, free: 5.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.4725, allocations: 93.84 kB / 0.7102 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4725, allocations: 33.7 kB / 0.7102 GB, free: 5.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.4726, allocations: 80.14 kB / 0.7103 GB, free: 5.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.4726, allocations: 47.3 kB / 0.7104 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.4727, allocations: 25.72 kB / 0.7104 GB, free: 5.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.4728, allocations: 322.8 kB / 0.7107 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.4728, allocations: 24.12 kB / 0.7107 GB, free: 5.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.078e-05/0.4729, allocations: 26.86 kB / 0.7107 GB, free: 5.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.473, allocations: 64.84 kB / 0.7108 GB, free: 5.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.473, allocations: 0 / 0.7108 GB, free: 5.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001982/0.4732, allocations: 101.6 kB / 0.7109 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4732, allocations: 8 kB / 0.7109 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4732, allocations: 0 / 0.7109 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4732, allocations: 0 / 0.7109 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4733, allocations: 23.98 kB / 0.7109 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4734, allocations: 0 / 0.7109 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.4734, allocations: 4 kB / 0.7109 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4734, allocations: 8 kB / 0.7109 GB, free: 5.07 MB / 0.545 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.591e-05/0.4735, allocations: 121.8 kB / 0.7111 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.4735, allocations: 11.84 kB / 0.7111 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.4738, allocations: 125.4 kB / 0.7112 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4738, allocations: 4 kB / 0.7112 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4738, allocations: 0 / 0.7112 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4738, allocations: 0 / 0.7112 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.474, allocations: 177.6 kB / 0.7114 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.474, allocations: 4 kB / 0.7114 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4741, allocations: 27.98 kB / 0.7114 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4741, allocations: 0 / 0.7114 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.4741, allocations: 0 / 0.7114 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4741, allocations: 4.078 kB / 0.7114 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4741, allocations: 7.922 kB / 0.7114 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4744, allocations: 161.8 kB / 0.7116 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4745, allocations: 89.23 kB / 0.7117 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4745, allocations: 0 / 0.7117 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4746, allocations: 15.97 kB / 0.7117 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.4746, allocations: 11.98 kB / 0.7117 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4747, allocations: 4 kB / 0.7117 GB, free: 4.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.4747, allocations: 79.28 kB / 0.7118 GB, free: 4.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4747, allocations: 0 / 0.7118 GB, free: 4.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001367/0.4761, allocations: 0.5663 MB / 0.7123 GB, free: 3.574 MB / 0.545 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.003246/0.4793, allocations: 0.9421 MB / 0.7132 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.4795, allocations: 67.91 kB / 0.7133 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4795, allocations: 4 kB / 0.7133 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.4796, allocations: 39.86 kB / 0.7133 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.4797, allocations: 14.19 kB / 0.7133 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4815, allocations: 1.547 MB / 0.7149 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.4817, allocations: 0.6923 MB / 0.7155 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.897e-05/0.4818, allocations: 24.55 kB / 0.7156 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.4818, allocations: 19.44 kB / 0.7156 GB, free: 104 kB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4818, allocations: 4 kB / 0.7156 GB, free: 100 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.533/2.015, allocations: 25.31 MB / 0.7403 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/2.015, allocations: 186 kB / 0.7405 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/4.306, allocations: 0 / 0.7405 GB, free: 6.613 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)