Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_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.008395/0.008396, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001802/0.001803, allocations: 192 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7793/0.7793, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.53 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 80.92 MB / 0.6641 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002146/0.149, allocations: 1.274 MB / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4936/0.6426, allocations: 137.7 MB / 0.7999 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.6427, allocations: 0 / 0.7999 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.6428, allocations: 0.9375 kB / 0.7999 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.6428, allocations: 9.125 kB / 0.7999 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.644, allocations: 472.4 kB / 0.8003 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.644, allocations: 39.89 kB / 0.8004 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.6441, allocations: 3.672 kB / 0.8004 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.6441, allocations: 19.03 kB / 0.8004 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.6442, allocations: 22.48 kB / 0.8004 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6442, allocations: 6 kB / 0.8004 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.6455, allocations: 0.8253 MB / 0.8012 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.6455, allocations: 10.03 kB / 0.8012 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.6456, allocations: 18.89 kB / 0.8012 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.6461, allocations: 448.2 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6461, allocations: 0 / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6461, allocations: 4.906 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6461, allocations: 0 / 0.8017 GB, free: 12.14 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.0004616/0.6466, allocations: 372.9 kB / 0.802 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6466, allocations: 10.8 kB / 0.802 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.6467, allocations: 33.59 kB / 0.8021 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.6469, allocations: 13.7 kB / 0.8021 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.647, allocations: 167.1 kB / 0.8022 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.647, allocations: 9.062 kB / 0.8022 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.647, allocations: 8.25 kB / 0.8023 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.6471, allocations: 51.53 kB / 0.8023 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6472, allocations: 0 / 0.8023 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6472, allocations: 4.562 kB / 0.8023 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6472, allocations: 1.312 kB / 0.8023 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.6472, allocations: 24.33 kB / 0.8023 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.6474, allocations: 166.8 kB / 0.8025 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.6475, allocations: 51.77 kB / 0.8025 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.6476, allocations: 24.34 kB / 0.8026 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.6584, allocations: 3.213 MB / 0.8057 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.6585, allocations: 31.94 kB / 0.8057 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.6585, allocations: 1.375 kB / 0.8057 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04017/0.6987, allocations: 15 MB / 0.8204 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.6988, allocations: 55.39 kB / 0.8204 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.6988, allocations: 95.73 kB / 0.8205 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6989, allocations: 29.64 kB / 0.8206 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.6989, allocations: 87.58 kB / 0.8206 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.6989, allocations: 39.72 kB / 0.8207 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.699, allocations: 30.5 kB / 0.8207 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6991, allocations: 320.8 kB / 0.821 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.6991, allocations: 23.89 kB / 0.821 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.6992, allocations: 19.16 kB / 0.8211 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.6993, allocations: 63.69 kB / 0.8211 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.6993, allocations: 0 / 0.8211 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001999/0.6995, allocations: 111.5 kB / 0.8212 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6995, allocations: 15.64 kB / 0.8212 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6995, allocations: 0 / 0.8212 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6996, allocations: 0 / 0.8212 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.6997, allocations: 22.78 kB / 0.8213 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6997, allocations: 0 / 0.8213 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.6997, allocations: 6.672 kB / 0.8213 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6997, allocations: 6.562 kB / 0.8213 GB, free: 4.871 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 8.783e-05/0.6998, allocations: 119.1 kB / 0.8214 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.6999, allocations: 2.469 kB / 0.8214 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.7001, allocations: 131.8 kB / 0.8215 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7001, allocations: 2.625 kB / 0.8215 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7002, allocations: 3.188 kB / 0.8215 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7002, allocations: 0 / 0.8215 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.7003, allocations: 178.6 kB / 0.8217 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7003, allocations: 0 / 0.8217 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.7004, allocations: 31.86 kB / 0.8217 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.7005, allocations: 0 / 0.8217 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.7005, allocations: 6.219 kB / 0.8217 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7005, allocations: 0 / 0.8217 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7005, allocations: 0 / 0.8217 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.7008, allocations: 154.9 kB / 0.8219 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.7008, allocations: 89.7 kB / 0.822 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.7009, allocations: 0 / 0.822 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.701, allocations: 21.73 kB / 0.822 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.701, allocations: 6.484 kB / 0.822 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.701, allocations: 8.5 kB / 0.822 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.7011, allocations: 75.28 kB / 0.8221 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7011, allocations: 0 / 0.8221 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001897/0.703, allocations: 0.569 MB / 0.8226 GB, free: 3.84 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.003432/0.7064, allocations: 0.9484 MB / 0.8235 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.7066, allocations: 69.28 kB / 0.8236 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7066, allocations: 0 / 0.8236 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.7067, allocations: 38.67 kB / 0.8236 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.7069, allocations: 9.219 kB / 0.8237 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.7089, allocations: 1.544 MB / 0.8252 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.7092, allocations: 0.6846 MB / 0.8258 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.259e-05/0.7093, allocations: 28.53 kB / 0.8259 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.7094, allocations: 26.31 kB / 0.8259 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7094, allocations: 3.938 kB / 0.8259 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05111/0.7605, allocations: 25.42 MB / 0.8507 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.928, allocations: 3.25 kB / 0.8507 GB, free: 7.148 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)