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.0008518/0.0008518, allocations: 92.72 kB / 16.02 MB, free: 84 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.0009495/0.0009495, allocations: 180.2 kB / 16.92 MB, free: 6.684 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.696/0.696, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8.531 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 77.54 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001185/0.1312, allocations: 0.977 MB / 0.561 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3838/0.5151, allocations: 134.2 MB / 0.692 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.5151, allocations: 3.938 kB / 0.692 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.5152, allocations: 7.984 kB / 0.6921 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.5152, allocations: 3.938 kB / 0.6921 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.5164, allocations: 376 kB / 0.6924 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.5164, allocations: 37.61 kB / 0.6924 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.5165, allocations: 0 / 0.6924 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.5165, allocations: 27.84 kB / 0.6925 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.5166, allocations: 15.98 kB / 0.6925 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.5166, allocations: 3.984 kB / 0.6925 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.5181, allocations: 0.8184 MB / 0.6933 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.5181, allocations: 11.92 kB / 0.6933 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.5182, allocations: 41.69 kB / 0.6933 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.5188, allocations: 447.7 kB / 0.6938 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5188, allocations: 4 kB / 0.6938 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5188, allocations: 4 kB / 0.6938 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5188, allocations: 0 / 0.6938 GB, free: 13.19 MB / 0.5137 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.0004863/0.5193, allocations: 356.3 kB / 0.6941 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5194, allocations: 8.031 kB / 0.6941 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.5194, allocations: 30.75 kB / 0.6942 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.5196, allocations: 20.83 kB / 0.6942 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5197, allocations: 164.4 kB / 0.6943 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5197, allocations: 8.5 kB / 0.6943 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.5198, allocations: 15.88 kB / 0.6944 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.5199, allocations: 49.67 kB / 0.6944 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5199, allocations: 0 / 0.6944 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5199, allocations: 0 / 0.6944 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5199, allocations: 4 kB / 0.6944 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.52, allocations: 15.98 kB / 0.6944 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.5202, allocations: 165.7 kB / 0.6946 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5203, allocations: 62.44 kB / 0.6946 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.5203, allocations: 16.8 kB / 0.6947 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.5309, allocations: 3.21 MB / 0.6978 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5309, allocations: 34.56 kB / 0.6978 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.5309, allocations: 4 kB / 0.6978 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.03689/0.5678, allocations: 14.23 MB / 0.7117 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5679, allocations: 51.41 kB / 0.7118 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.568, allocations: 101.8 kB / 0.7119 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.568, allocations: 33.7 kB / 0.7119 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.568, allocations: 80.14 kB / 0.712 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.5681, allocations: 43.3 kB / 0.712 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.5681, allocations: 17.72 kB / 0.712 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.5682, allocations: 322.8 kB / 0.7123 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.5683, allocations: 20 kB / 0.7124 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.5683, allocations: 31.92 kB / 0.7124 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.5684, allocations: 60.84 kB / 0.7125 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5684, allocations: 4.125 kB / 0.7125 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002037/0.5687, allocations: 98.81 kB / 0.7126 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5687, allocations: 7.938 kB / 0.7126 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5687, allocations: 0 / 0.7126 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5687, allocations: 0 / 0.7126 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5688, allocations: 35.86 kB / 0.7126 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5688, allocations: 0 / 0.7126 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.5689, allocations: 4 kB / 0.7126 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5689, allocations: 4 kB / 0.7126 GB, free: 9.449 MB / 0.5294 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.824e-05/0.569, allocations: 121.8 kB / 0.7127 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.569, allocations: 15.88 kB / 0.7127 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.5693, allocations: 118.6 kB / 0.7128 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5693, allocations: 0 / 0.7128 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5693, allocations: 0 / 0.7128 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5693, allocations: 0 / 0.7128 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.5695, allocations: 185.6 kB / 0.713 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5695, allocations: 0 / 0.713 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.5696, allocations: 29.73 kB / 0.7131 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5696, allocations: 0 / 0.7131 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.5696, allocations: 4 kB / 0.7131 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5696, allocations: 0 / 0.7131 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5696, allocations: 0 / 0.7131 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.5699, allocations: 161.8 kB / 0.7132 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.57, allocations: 89.14 kB / 0.7133 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.57, allocations: 4 kB / 0.7133 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5702, allocations: 15.98 kB / 0.7133 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.5702, allocations: 7.938 kB / 0.7133 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5702, allocations: 11.98 kB / 0.7133 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.5702, allocations: 75.28 kB / 0.7134 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5702, allocations: 96 / 0.7134 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001608/0.5719, allocations: 0.5663 MB / 0.714 GB, free: 7.961 MB / 0.5294 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.003629/0.5755, allocations: 0.9444 MB / 0.7149 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.5757, allocations: 63.92 kB / 0.7149 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5757, allocations: 0 / 0.7149 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.5758, allocations: 39.92 kB / 0.715 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5759, allocations: 8 kB / 0.715 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.5782, allocations: 1.601 MB / 0.7166 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.5784, allocations: 0.6848 MB / 0.7172 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.699e-05/0.5785, allocations: 24.53 kB / 0.7172 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.5786, allocations: 23.44 kB / 0.7173 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.5786, allocations: 0 / 0.7173 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.786/3.365, allocations: 25.18 MB / 0.7419 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/3.365, allocations: 196.8 kB / 0.742 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/6.479, allocations: 0 / 0.742 GB, free: 11.08 MB / 0.5606 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)