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.002119/0.002119, allocations: 112.5 kB / 16.41 MB, free: 6.5 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.002401/0.002401, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8338/0.8338, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 70.17 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1388, allocations: 78.86 MB / 0.6505 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002496/0.1413, allocations: 1.264 MB / 0.6517 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.471/0.6124, allocations: 137.7 MB / 0.7862 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.6125, allocations: 0 / 0.7862 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.6125, allocations: 0 / 0.7862 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.6126, allocations: 10.95 kB / 0.7862 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.6144, allocations: 459.2 kB / 0.7866 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.6145, allocations: 38.52 kB / 0.7867 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.6145, allocations: 4.453 kB / 0.7867 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.6146, allocations: 22.12 kB / 0.7867 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.6147, allocations: 21.64 kB / 0.7867 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.6147, allocations: 6.875 kB / 0.7867 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.6167, allocations: 0.8248 MB / 0.7875 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.6167, allocations: 16.12 kB / 0.7876 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.6168, allocations: 13.44 kB / 0.7876 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009399/0.6177, allocations: 445.3 kB / 0.788 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6177, allocations: 0 / 0.788 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6178, allocations: 0 / 0.788 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.6178, allocations: 1.125 kB / 0.788 GB, free: 13.34 MB / 0.5919 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.0007752/0.6185, allocations: 371.9 kB / 0.7884 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6186, allocations: 8.656 kB / 0.7884 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.6187, allocations: 38.53 kB / 0.7884 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.6189, allocations: 22.3 kB / 0.7884 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.619, allocations: 160.4 kB / 0.7886 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.619, allocations: 2.781 kB / 0.7886 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.6191, allocations: 11.77 kB / 0.7886 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6192, allocations: 54.19 kB / 0.7886 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6192, allocations: 0 / 0.7886 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6193, allocations: 1.219 kB / 0.7886 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.6193, allocations: 5.141 kB / 0.7886 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.6193, allocations: 20.23 kB / 0.7887 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.6196, allocations: 172.8 kB / 0.7888 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.6197, allocations: 57.17 kB / 0.7889 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.6197, allocations: 23.23 kB / 0.7889 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.6316, allocations: 3.202 MB / 0.792 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6316, allocations: 35.22 kB / 0.7921 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/0.6316, allocations: 0 / 0.7921 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04208/0.6737, allocations: 15 MB / 0.8067 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.6738, allocations: 61.58 kB / 0.8068 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.6739, allocations: 89.95 kB / 0.8069 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.6739, allocations: 35.89 kB / 0.8069 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.674, allocations: 80.14 kB / 0.807 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.674, allocations: 43.19 kB / 0.807 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.6741, allocations: 30.73 kB / 0.807 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6742, allocations: 324.8 kB / 0.8074 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.6743, allocations: 23.52 kB / 0.8074 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.6744, allocations: 24.61 kB / 0.8074 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.6745, allocations: 58.94 kB / 0.8075 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6745, allocations: 4 kB / 0.8075 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002101/0.6747, allocations: 108.5 kB / 0.8076 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6747, allocations: 5.75 kB / 0.8076 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6747, allocations: 0 / 0.8076 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6748, allocations: 2.094 kB / 0.8076 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.6749, allocations: 21.41 kB / 0.8076 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6749, allocations: 3.984 kB / 0.8076 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.6749, allocations: 3.125 kB / 0.8076 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.6749, allocations: 4.875 kB / 0.8076 GB, free: 7.203 MB / 0.5919 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 9.865e-05/0.675, allocations: 119.6 kB / 0.8077 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.6751, allocations: 7.172 kB / 0.8077 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.6754, allocations: 129.1 kB / 0.8078 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6754, allocations: 2.781 kB / 0.8078 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6754, allocations: 0 / 0.8078 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6754, allocations: 0 / 0.8078 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.6756, allocations: 183.6 kB / 0.808 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6756, allocations: 0 / 0.808 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6757, allocations: 24.36 kB / 0.808 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6757, allocations: 2.844 kB / 0.808 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6758, allocations: 5.188 kB / 0.8081 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6758, allocations: 0 / 0.8081 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6758, allocations: 3.938 kB / 0.8081 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.6761, allocations: 154.5 kB / 0.8082 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.6762, allocations: 85.67 kB / 0.8083 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.6762, allocations: 7.562 kB / 0.8083 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6763, allocations: 13.92 kB / 0.8083 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.6764, allocations: 10.2 kB / 0.8083 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.6764, allocations: 4.844 kB / 0.8083 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.6764, allocations: 76.48 kB / 0.8084 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6764, allocations: 0 / 0.8084 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001903/0.6784, allocations: 0.567 MB / 0.8089 GB, free: 6.512 MB / 0.5919 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.003757/0.6821, allocations: 0.9433 MB / 0.8099 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.6823, allocations: 74.94 kB / 0.8099 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6823, allocations: 2.375 kB / 0.8099 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.6824, allocations: 31.48 kB / 0.81 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.6826, allocations: 11.06 kB / 0.81 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.685, allocations: 1.543 MB / 0.8115 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6854, allocations: 0.6931 MB / 0.8122 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.115e-05/0.6855, allocations: 26.53 kB / 0.8122 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.6855, allocations: 20.06 kB / 0.8122 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.6856, allocations: 0 / 0.8122 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/0.7463, allocations: 25.43 MB / 0.837 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.733/9.48, allocations: 15.97 kB / 0.8371 GB, free: 12.32 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)