Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",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.001293/0.001294, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 194.2 kB / 16.67 MB, free: 6.57 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8235/0.8235, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.78 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.145, allocations: 80.19 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1555/0.3006, allocations: 136.1 MB / 0.7921 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3486/0.6492, allocations: 22.33 MB / 0.8139 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.6494, allocations: 1.312 kB / 0.8139 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.6497, allocations: 52.66 kB / 0.814 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.65, allocations: 89.75 kB / 0.8141 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.666, allocations: 6.667 MB / 0.8206 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.6665, allocations: 257.2 kB / 0.8208 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.6666, allocations: 14.09 kB / 0.8208 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.6669, allocations: 137.8 kB / 0.821 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.6671, allocations: 90.31 kB / 0.8211 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.6671, allocations: 10.06 kB / 0.8211 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.6875, allocations: 10.98 MB / 0.8318 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6877, allocations: 32.3 kB / 0.8318 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.6878, allocations: 87.14 kB / 0.8319 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.6989, allocations: 6.167 MB / 0.8379 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.699, allocations: 0 / 0.8379 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.699, allocations: 2.234 kB / 0.8379 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.699, allocations: 0 / 0.8379 GB, free: 2.438 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003124/0.7021, allocations: 1.229 MB / 0.8391 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7022, allocations: 7.562 kB / 0.8391 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.7022, allocations: 50.88 kB / 0.8392 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.7033, allocations: 86.92 kB / 0.8393 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.7035, allocations: 230.6 kB / 0.8395 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.7035, allocations: 9.969 kB / 0.8395 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.7036, allocations: 19.22 kB / 0.8395 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.7045, allocations: 451.7 kB / 0.84 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7045, allocations: 4.188 kB / 0.84 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.7046, allocations: 10.25 kB / 0.84 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7046, allocations: 5.719 kB / 0.84 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.7056, allocations: 0.5904 MB / 0.8405 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.7064, allocations: 0.8858 MB / 0.8414 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.7071, allocations: 251.6 kB / 0.8417 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.7072, allocations: 74.44 kB / 0.8417 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08816/0.7954, allocations: 35.43 MB / 0.8763 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.7954, allocations: 40.8 kB / 0.8764 GB, free: 11.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.7955, allocations: 4 kB / 0.8764 GB, free: 11.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001664/0.7971, allocations: 424.6 kB / 0.8768 GB, free: 10.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.7972, allocations: 51.41 kB / 0.8768 GB, free: 10.85 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7973, allocations: 141.5 kB / 0.877 GB, free: 10.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.7974, allocations: 29.08 kB / 0.877 GB, free: 10.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.7974, allocations: 112.3 kB / 0.8771 GB, free: 10.61 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.7975, allocations: 82.62 kB / 0.8772 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.7976, allocations: 76.94 kB / 0.8772 GB, free: 10.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7978, allocations: 331.6 kB / 0.8776 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.798, allocations: 83.41 kB / 0.8776 GB, free: 10.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.7982, allocations: 132.2 kB / 0.8778 GB, free: 10.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.7986, allocations: 218 kB / 0.878 GB, free: 10.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7986, allocations: 0 / 0.878 GB, free: 10.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006645/0.7993, allocations: 299.4 kB / 0.8783 GB, free: 9.973 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7993, allocations: 4.906 kB / 0.8783 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7993, allocations: 6.5 kB / 0.8783 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.7993, allocations: 5.812 kB / 0.8783 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.7996, allocations: 84.28 kB / 0.8784 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7996, allocations: 1.938 kB / 0.8784 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.7998, allocations: 22.89 kB / 0.8784 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.7998, allocations: 33.16 kB / 0.8784 GB, free: 9.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001223/0.8, allocations: 126.9 kB / 0.8785 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.8001, allocations: 17.28 kB / 0.8785 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.8023, allocations: 2.344 MB / 0.8808 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.8023, allocations: 15.17 kB / 0.8808 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8023, allocations: 4 kB / 0.8809 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.8023, allocations: 0 / 0.8809 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.8055, allocations: 3.432 MB / 0.8842 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.8055, allocations: 7.031 kB / 0.8842 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8057, allocations: 58.05 kB / 0.8843 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8058, allocations: 0 / 0.8843 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8058, allocations: 11.06 kB / 0.8843 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8058, allocations: 0 / 0.8843 GB, free: 6.676 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8058, allocations: 4 kB / 0.8843 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.8066, allocations: 0.5446 MB / 0.8848 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.8067, allocations: 143.6 kB / 0.8849 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.8068, allocations: 11.97 kB / 0.885 GB, free: 6.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.807, allocations: 11.75 kB / 0.885 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.807, allocations: 19.22 kB / 0.885 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.8071, allocations: 11.75 kB / 0.885 GB, free: 6.074 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.8072, allocations: 116.1 kB / 0.8851 GB, free: 5.973 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8072, allocations: 0 / 0.8851 GB, free: 5.973 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004713/0.8119, allocations: 1.642 MB / 0.8867 GB, free: 4.398 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008451/0.8203, allocations: 2.896 MB / 0.8895 GB, free: 1.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.821, allocations: 327.9 kB / 0.8899 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.821, allocations: 0 / 0.8899 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.8214, allocations: 242 kB / 0.8901 GB, free: 1.488 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.8219, allocations: 63.75 kB / 0.8901 GB, free: 1.441 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.8274, allocations: 3.078 MB / 0.8932 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.8278, allocations: 0.7661 MB / 0.8939 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006474/0.8285, allocations: 406.7 kB / 0.8943 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.8287, allocations: 103.9 kB / 0.8944 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.8287, allocations: 0 / 0.8944 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.9477, allocations: 60.76 MB / 0.9537 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.95, allocations: 13.83 kB / 0.9537 GB, free: 0.7383 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)