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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4935/0.4935, allocations: 90.81 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 348.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 95.94 kB / 421.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.784e-05, allocations: 0 / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 72.31 MB / 0.5603 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.24, allocations: 409.3 MB / 0.96 GB, free: 62.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.241, allocations: 72.16 kB / 0.9601 GB, free: 62.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08025/1.321, allocations: 36.72 MB / 0.996 GB, free: 27.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/1.321, allocations: 0 / 0.996 GB, free: 27.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.66e-06/1.321, allocations: 8 kB / 0.996 GB, free: 27.41 MB / 0.5886 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.0004889/1.322, allocations: 366.3 kB / 0.9963 GB, free: 27.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.322, allocations: 15.98 kB / 0.9963 GB, free: 26.99 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/1.322, allocations: 30.56 kB / 0.9964 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/1.322, allocations: 15.97 kB / 0.9964 GB, free: 26.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/1.322, allocations: 163 kB / 0.9965 GB, free: 26.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.322, allocations: 8 kB / 0.9965 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.322, allocations: 4 kB / 0.9965 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.322, allocations: 69.56 kB / 0.9966 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.322, allocations: 0 / 0.9966 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.322, allocations: 0 / 0.9966 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.322, allocations: 7.984 kB / 0.9966 GB, free: 26.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/1.322, allocations: 19.98 kB / 0.9966 GB, free: 26.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/1.322, allocations: 157.6 kB / 0.9968 GB, free: 26.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/1.322, allocations: 54.5 kB / 0.9968 GB, free: 26.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/1.322, allocations: 16.86 kB / 0.9969 GB, free: 26.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009165/1.332, allocations: 3.147 MB / 0.9999 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.332, allocations: 38.55 kB / 1 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/1.332, allocations: 0 / 1 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.02753/1.359, allocations: 13.43 MB / 1.013 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.359, allocations: 55.41 kB / 1.013 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/1.359, allocations: 85 kB / 1.013 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.359, allocations: 29.7 kB / 1.013 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/1.359, allocations: 88.08 kB / 1.013 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/1.359, allocations: 43.48 kB / 1.013 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/1.359, allocations: 4 kB / 1.013 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/1.36, allocations: 314.8 kB / 1.014 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/1.36, allocations: 24 kB / 1.014 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/1.36, allocations: 20 kB / 1.014 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/1.36, allocations: 27.98 kB / 1.014 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.36, allocations: 0 / 1.014 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001934/1.36, allocations: 93.62 kB / 1.014 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.36, allocations: 8 kB / 1.014 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.36, allocations: 4 kB / 1.014 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.36, allocations: 0 / 1.014 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.36, allocations: 31.92 kB / 1.014 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.36, allocations: 0 / 1.014 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/1.36, allocations: 0 / 1.014 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/1.36, allocations: 7.984 kB / 1.014 GB, free: 8.609 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/1.36, allocations: 109 kB / 1.014 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/1.36, allocations: 11.86 kB / 1.014 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/1.361, allocations: 133.5 kB / 1.014 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.361, allocations: 0 / 1.014 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.361, allocations: 0 / 1.014 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.361, allocations: 0 / 1.014 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/1.361, allocations: 173.7 kB / 1.014 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.361, allocations: 0 / 1.014 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.361, allocations: 27.98 kB / 1.014 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/1.361, allocations: 0 / 1.014 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.361, allocations: 11.95 kB / 1.014 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.361, allocations: 0 / 1.014 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.361, allocations: 0 / 1.014 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/1.361, allocations: 149.6 kB / 1.014 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/1.361, allocations: 93.12 kB / 1.015 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.361, allocations: 11.94 kB / 1.015 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.361, allocations: 19.94 kB / 1.015 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/1.361, allocations: 7.984 kB / 1.015 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.361, allocations: 8 kB / 1.015 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.802e-05/1.361, allocations: 75.28 kB / 1.015 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.361, allocations: 0 / 1.015 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001924/1.363, allocations: 0.6092 MB / 1.015 GB, free: 7.086 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004348/1.368, allocations: 1.329 MB / 1.017 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001704/1.368, allocations: 56 kB / 1.017 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.368, allocations: 3.938 kB / 1.017 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/1.368, allocations: 35.98 kB / 1.017 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.368, allocations: 7.953 kB / 1.017 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.369, allocations: 414.5 kB / 1.017 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.37, allocations: 0.6887 MB / 1.018 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001124/1.37, allocations: 28.53 kB / 1.018 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/1.37, allocations: 19.44 kB / 1.018 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/1.37, allocations: 0 / 1.018 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3607/1.73, allocations: 31.8 MB / 1.049 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.731, allocations: 142 kB / 1.049 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/4.393, allocations: 0 / 1.049 GB, free: 151.5 MB / 0.6042 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/linux/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)