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.008082/0.008082, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002211/0.002211, allocations: 198.1 kB / 16.68 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9667/0.9667, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.89 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3558, allocations: 81.02 MB / 0.6648 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001751/0.3576, allocations: 1.257 MB / 0.6661 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1613/0.519, allocations: 137.7 MB / 0.8006 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.5191, allocations: 0 / 0.8006 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.5191, allocations: 3.938 kB / 0.8006 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.5192, allocations: 7.922 kB / 0.8006 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.5208, allocations: 466.4 kB / 0.801 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.763e-05/0.5209, allocations: 43.84 kB / 0.8011 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.5209, allocations: 0 / 0.8011 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.521, allocations: 27.91 kB / 0.8011 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.521, allocations: 11.98 kB / 0.8011 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.5211, allocations: 4 kB / 0.8011 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.5228, allocations: 0.8348 MB / 0.8019 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.5228, allocations: 11.92 kB / 0.8019 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.5229, allocations: 15.92 kB / 0.8019 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007975/0.5237, allocations: 440 kB / 0.8024 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5237, allocations: 4 kB / 0.8024 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5237, allocations: 11.94 kB / 0.8024 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5237, allocations: 0 / 0.8024 GB, free: 3.57 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.0006467/0.5244, allocations: 363.2 kB / 0.8027 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5244, allocations: 12.03 kB / 0.8027 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.5245, allocations: 34.75 kB / 0.8028 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.5247, allocations: 20.86 kB / 0.8028 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.5249, allocations: 164.3 kB / 0.803 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5249, allocations: 8.375 kB / 0.803 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.525, allocations: 11.94 kB / 0.803 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5251, allocations: 53.67 kB / 0.803 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5252, allocations: 0 / 0.803 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5252, allocations: 0 / 0.803 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5252, allocations: 0 / 0.803 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.5253, allocations: 23.97 kB / 0.803 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.5255, allocations: 173.6 kB / 0.8032 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5256, allocations: 54.44 kB / 0.8033 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.5257, allocations: 16.86 kB / 0.8033 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.5379, allocations: 3.202 MB / 0.8064 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.5379, allocations: 34.56 kB / 0.8064 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.5379, allocations: 0 / 0.8064 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04473/0.5827, allocations: 15 MB / 0.8211 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.5828, allocations: 55.41 kB / 0.8211 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.5828, allocations: 97.73 kB / 0.8212 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.5829, allocations: 29.7 kB / 0.8213 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.5829, allocations: 80.14 kB / 0.8213 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.583, allocations: 43.62 kB / 0.8214 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.583, allocations: 29.84 kB / 0.8214 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5832, allocations: 326.8 kB / 0.8217 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.5832, allocations: 20 kB / 0.8217 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.5833, allocations: 19.98 kB / 0.8218 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.5834, allocations: 67.72 kB / 0.8218 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5834, allocations: 3.938 kB / 0.8218 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002195/0.5837, allocations: 101.6 kB / 0.8219 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5837, allocations: 4 kB / 0.8219 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5837, allocations: 0 / 0.8219 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5837, allocations: 11.98 kB / 0.8219 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5838, allocations: 27.94 kB / 0.822 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5838, allocations: 0 / 0.822 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.5839, allocations: 0 / 0.822 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.5839, allocations: 4 kB / 0.822 GB, free: 15.04 MB / 0.6544 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.413e-05/0.584, allocations: 125.8 kB / 0.8221 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.584, allocations: 0 / 0.8221 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.5843, allocations: 129.4 kB / 0.8222 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5843, allocations: 0 / 0.8222 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5844, allocations: 4 kB / 0.8222 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5844, allocations: 4 kB / 0.8222 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.5845, allocations: 181.6 kB / 0.8224 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5845, allocations: 0 / 0.8224 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5847, allocations: 31.92 kB / 0.8224 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5847, allocations: 0 / 0.8224 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5847, allocations: 4 kB / 0.8224 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5847, allocations: 0 / 0.8224 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5847, allocations: 0 / 0.8224 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.585, allocations: 156.9 kB / 0.8226 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.5851, allocations: 85.14 kB / 0.8227 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.5852, allocations: 8 kB / 0.8227 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5853, allocations: 15.98 kB / 0.8227 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.5853, allocations: 7.984 kB / 0.8227 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.5854, allocations: 8 kB / 0.8227 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.5854, allocations: 75.28 kB / 0.8228 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5854, allocations: 0 / 0.8228 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001472/0.5869, allocations: 0.5699 MB / 0.8233 GB, free: 13.54 MB / 0.6544 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.003456/0.5903, allocations: 0.9521 MB / 0.8243 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.5905, allocations: 71.84 kB / 0.8243 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5905, allocations: 0 / 0.8243 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.5906, allocations: 31.98 kB / 0.8244 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.5908, allocations: 6.188 kB / 0.8244 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.5929, allocations: 1.551 MB / 0.8259 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.5933, allocations: 0.6846 MB / 0.8265 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.652e-05/0.5934, allocations: 28.53 kB / 0.8266 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.5935, allocations: 19.44 kB / 0.8266 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.5935, allocations: 0 / 0.8266 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.6508, allocations: 25.43 MB / 0.8514 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.291, allocations: 18.67 kB / 0.8514 GB, free: 0.6562 MB / 0.67 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)