Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_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.006043/0.006043, allocations: 98.73 kB / 15.73 MB, free: 6.055 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.001275/0.001275, allocations: 196 kB / 16.68 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7724/0.7724, allocations: 135.1 MB / 425.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 74.92 kB / 0.5851 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 80.91 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4854/0.625, allocations: 136.1 MB / 0.7971 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.6473, allocations: 22.34 MB / 0.8189 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.6475, allocations: 3.938 kB / 0.8189 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.6478, allocations: 47.17 kB / 0.819 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.6482, allocations: 90.2 kB / 0.8191 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02131/0.6695, allocations: 6.698 MB / 0.8256 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000473/0.67, allocations: 253.3 kB / 0.8258 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.6701, allocations: 9 kB / 0.8259 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.6705, allocations: 145 kB / 0.826 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.6707, allocations: 94.72 kB / 0.8261 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.6707, allocations: 9.75 kB / 0.8261 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02168/0.6924, allocations: 10.96 MB / 0.8368 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.6925, allocations: 39.23 kB / 0.8368 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.6927, allocations: 77.22 kB / 0.8369 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.7083, allocations: 6.168 MB / 0.8429 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7083, allocations: 0 / 0.8429 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7083, allocations: 0 / 0.8429 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.7084, allocations: 4 kB / 0.8429 GB, free: 8.449 MB / 0.6075 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.00368/0.7121, allocations: 1.23 MB / 0.8441 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7121, allocations: 9.109 kB / 0.8441 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.7122, allocations: 54.67 kB / 0.8442 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.7133, allocations: 84.77 kB / 0.8443 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.7137, allocations: 220.4 kB / 0.8445 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7137, allocations: 15.94 kB / 0.8445 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.7137, allocations: 16 kB / 0.8445 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.7149, allocations: 448.8 kB / 0.8449 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7149, allocations: 0 / 0.8449 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.715, allocations: 12 kB / 0.845 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.715, allocations: 4 kB / 0.845 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.7163, allocations: 0.5931 MB / 0.8455 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.7176, allocations: 0.8916 MB / 0.8464 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.7185, allocations: 260.3 kB / 0.8467 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.7186, allocations: 68.84 kB / 0.8467 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09003/0.8086, allocations: 35.43 MB / 0.8813 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.8087, allocations: 34.56 kB / 0.8814 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.8087, allocations: 0 / 0.8814 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001781/0.8105, allocations: 417.8 kB / 0.8818 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.8105, allocations: 51.41 kB / 0.8818 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8107, allocations: 147.5 kB / 0.8819 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.8107, allocations: 25.7 kB / 0.882 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.8108, allocations: 112.5 kB / 0.8821 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.8109, allocations: 95.2 kB / 0.8822 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.811, allocations: 77.62 kB / 0.8822 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8112, allocations: 330.8 kB / 0.8826 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.8113, allocations: 79.95 kB / 0.8826 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.8116, allocations: 125.1 kB / 0.8828 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.812, allocations: 221.8 kB / 0.883 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.812, allocations: 0 / 0.883 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000732/0.8128, allocations: 297.3 kB / 0.8832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8128, allocations: 8 kB / 0.8833 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8128, allocations: 0 / 0.8833 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8128, allocations: 11.88 kB / 0.8833 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.8131, allocations: 79.94 kB / 0.8833 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.8131, allocations: 7.938 kB / 0.8833 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.8133, allocations: 26.41 kB / 0.8834 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.8134, allocations: 27.97 kB / 0.8834 GB, free: 11.6 MB / 0.6544 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.0001396/0.8135, allocations: 122 kB / 0.8835 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.8137, allocations: 27.84 kB / 0.8835 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.816, allocations: 2.338 MB / 0.8858 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.816, allocations: 7.984 kB / 0.8858 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8161, allocations: 0 / 0.8858 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.8161, allocations: 7.922 kB / 0.8858 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.8192, allocations: 3.428 MB / 0.8892 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.8193, allocations: 0 / 0.8892 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.8195, allocations: 55.95 kB / 0.8892 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8195, allocations: 3.938 kB / 0.8892 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.8196, allocations: 11.94 kB / 0.8893 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8196, allocations: 0 / 0.8893 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8196, allocations: 0 / 0.8893 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.8204, allocations: 0.5506 MB / 0.8898 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.8205, allocations: 144.7 kB / 0.8899 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.8206, allocations: 11.94 kB / 0.8899 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.8208, allocations: 12 kB / 0.89 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.8208, allocations: 15.97 kB / 0.89 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.8209, allocations: 16 kB / 0.89 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.821, allocations: 109.1 kB / 0.8901 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.821, allocations: 0 / 0.8901 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004134/0.8251, allocations: 1.637 MB / 0.8917 GB, free: 2.941 MB / 0.6544 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.009223/0.8343, allocations: 2.904 MB / 0.8945 GB, free: 8 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.8351, allocations: 325.3 kB / 0.8948 GB, free: 15.69 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.8351, allocations: 4 kB / 0.8948 GB, free: 15.69 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.8355, allocations: 244.5 kB / 0.8951 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.8361, allocations: 70.58 kB / 0.8951 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.8427, allocations: 3.086 MB / 0.8982 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.8431, allocations: 0.7661 MB / 0.8989 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.8437, allocations: 405.2 kB / 0.8993 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.8439, allocations: 103.4 kB / 0.8994 GB, free: 10.89 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.8439, allocations: 0 / 0.8994 GB, free: 10.89 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.9442, allocations: 60.77 MB / 0.9587 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.46, allocations: 4.062 kB / 0.9587 GB, free: 14.14 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)