Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.004112/0.004112, allocations: 102.7 kB / 15.74 MB, free: 6.488 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.001152/0.001152, allocations: 193.6 kB / 16.68 MB, free: 6.367 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7702/0.7702, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 70.44 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1457, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002309/0.1481, allocations: 1.26 MB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1358/0.2839, allocations: 137.7 MB / 0.7949 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.2839, allocations: 0 / 0.7949 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.284, allocations: 0 / 0.7949 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.2841, allocations: 3.938 kB / 0.7949 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2853, allocations: 474.5 kB / 0.7954 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.2853, allocations: 35.91 kB / 0.7954 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2854, allocations: 7.984 kB / 0.7954 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.2854, allocations: 19.98 kB / 0.7954 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.2855, allocations: 19.91 kB / 0.7954 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2855, allocations: 7.938 kB / 0.7954 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.2869, allocations: 0.8232 MB / 0.7962 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2869, allocations: 11.98 kB / 0.7963 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2869, allocations: 19.94 kB / 0.7963 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.2875, allocations: 447 kB / 0.7967 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2876, allocations: 0 / 0.7967 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2876, allocations: 7.922 kB / 0.7967 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2876, allocations: 0 / 0.7967 GB, free: 0.6328 MB / 0.6231 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.0004654/0.288, allocations: 375.2 kB / 0.7971 GB, free: 224 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2881, allocations: 8.031 kB / 0.7971 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2881, allocations: 30.75 kB / 0.7971 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.2883, allocations: 16.88 kB / 0.7971 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2884, allocations: 176.3 kB / 0.7973 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2884, allocations: 384 / 0.7973 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2885, allocations: 11.94 kB / 0.7973 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2886, allocations: 49.67 kB / 0.7973 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2886, allocations: 0 / 0.7973 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2886, allocations: 3.938 kB / 0.7974 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2886, allocations: 4 kB / 0.7974 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.2887, allocations: 19.92 kB / 0.7974 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2889, allocations: 165.6 kB / 0.7975 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.289, allocations: 62.48 kB / 0.7976 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.289, allocations: 13.09 kB / 0.7976 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.3, allocations: 3.209 MB / 0.8007 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3, allocations: 30.56 kB / 0.8008 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3, allocations: 0 / 0.8008 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.3519/0.652, allocations: 14.99 MB / 0.8154 GB, free: 151.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.652, allocations: 54.28 kB / 0.8155 GB, free: 151.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.6521, allocations: 96.92 kB / 0.8155 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.6521, allocations: 29.14 kB / 0.8156 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.6521, allocations: 83.86 kB / 0.8157 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.6522, allocations: 43.27 kB / 0.8157 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.6522, allocations: 33.36 kB / 0.8157 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.6523, allocations: 320.6 kB / 0.816 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.6523, allocations: 25.45 kB / 0.8161 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.6524, allocations: 24.3 kB / 0.8161 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6525, allocations: 64.28 kB / 0.8161 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6525, allocations: 0 / 0.8161 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002425/0.6528, allocations: 107.1 kB / 0.8162 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6528, allocations: 6.875 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6528, allocations: 1.203 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6529, allocations: 0.5 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.653, allocations: 30.17 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.653, allocations: 5.734 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.653, allocations: 0.5 kB / 0.8163 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.653, allocations: 8.016 kB / 0.8163 GB, free: 150.8 MB / 0.6387 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 5.487e-05/0.6531, allocations: 117.5 kB / 0.8164 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.6532, allocations: 3.125 kB / 0.8164 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.6534, allocations: 132 kB / 0.8165 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6534, allocations: 1.469 kB / 0.8165 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6534, allocations: 0 / 0.8165 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6534, allocations: 4.688 kB / 0.8165 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.467e-05/0.6535, allocations: 180.8 kB / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6535, allocations: 0 / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.6537, allocations: 27.77 kB / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6537, allocations: 0.5938 kB / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6537, allocations: 2.125 kB / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6537, allocations: 1.125 kB / 0.8167 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6537, allocations: 7.609 kB / 0.8168 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.654, allocations: 151.8 kB / 0.8169 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.6541, allocations: 89.2 kB / 0.817 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.6541, allocations: 5.594 kB / 0.817 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.6543, allocations: 11.12 kB / 0.817 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.6543, allocations: 13.53 kB / 0.817 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.6543, allocations: 5.281 kB / 0.817 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.6543, allocations: 76.34 kB / 0.8171 GB, free: 150.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6543, allocations: 0.5 kB / 0.8171 GB, free: 150.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001982/0.6563, allocations: 0.5672 MB / 0.8176 GB, free: 150.2 MB / 0.6387 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.003186/0.6595, allocations: 0.9568 MB / 0.8186 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.6597, allocations: 63.34 kB / 0.8186 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6597, allocations: 0 / 0.8186 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.6598, allocations: 40.11 kB / 0.8187 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.66, allocations: 10.59 kB / 0.8187 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.6618, allocations: 1.551 MB / 0.8202 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.6619, allocations: 0.6892 MB / 0.8209 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.6619, allocations: 23.95 kB / 0.8209 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.662, allocations: 24.28 kB / 0.8209 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.662, allocations: 0 / 0.8209 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.7076, allocations: 25.43 MB / 0.8458 GB, free: 134 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.868, allocations: 0.875 kB / 0.8458 GB, free: 134 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)