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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 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.001208/0.001208, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9131/0.9131, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 56.72 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1521, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3957/0.5478, allocations: 136.1 MB / 0.7174 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02564/0.5735, allocations: 22.32 MB / 0.7392 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.5737, allocations: 1.219 kB / 0.7392 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.574, allocations: 47.73 kB / 0.7393 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.5743, allocations: 93.39 kB / 0.7393 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0186/0.5929, allocations: 6.676 MB / 0.7459 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.5934, allocations: 251.2 kB / 0.7461 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.5935, allocations: 13.56 kB / 0.7461 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.5939, allocations: 144.2 kB / 0.7462 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.594, allocations: 89.95 kB / 0.7463 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.5941, allocations: 7.438 kB / 0.7463 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02057/0.6146, allocations: 10.69 MB / 0.7568 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6148, allocations: 39.83 kB / 0.7568 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.6149, allocations: 79.59 kB / 0.7569 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.6278, allocations: 6.17 MB / 0.7629 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6278, allocations: 0 / 0.7629 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6279, allocations: 4 kB / 0.7629 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.6279, allocations: 4 kB / 0.7629 GB, free: 6.02 MB / 0.5762 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.003015/0.6309, allocations: 1.184 MB / 0.7641 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6309, allocations: 8.031 kB / 0.7641 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.631, allocations: 54.73 kB / 0.7641 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6321, allocations: 84.66 kB / 0.7642 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.6323, allocations: 224.2 kB / 0.7644 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6323, allocations: 15.94 kB / 0.7644 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.6324, allocations: 20 kB / 0.7645 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6335, allocations: 455.2 kB / 0.7649 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6335, allocations: 0 / 0.7649 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.6335, allocations: 11.98 kB / 0.7649 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.6335, allocations: 4 kB / 0.7649 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.6348, allocations: 0.5966 MB / 0.7655 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.6358, allocations: 0.8784 MB / 0.7664 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.6367, allocations: 248.6 kB / 0.7666 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6368, allocations: 78.58 kB / 0.7667 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09109/0.7279, allocations: 35.05 MB / 0.8009 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.728, allocations: 38.56 kB / 0.8009 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.484e-06/0.728, allocations: 0 / 0.8009 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001823/0.7298, allocations: 415.4 kB / 0.8013 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.7299, allocations: 55.41 kB / 0.8014 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.73, allocations: 140.1 kB / 0.8015 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.73, allocations: 29.7 kB / 0.8015 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.7301, allocations: 112.4 kB / 0.8017 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.7302, allocations: 90.73 kB / 0.8017 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.7303, allocations: 77.67 kB / 0.8018 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7304, allocations: 322.8 kB / 0.8021 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7306, allocations: 83.94 kB / 0.8022 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.7309, allocations: 130.3 kB / 0.8023 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.7313, allocations: 216.3 kB / 0.8025 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7313, allocations: 4 kB / 0.8025 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007321/0.7321, allocations: 309.1 kB / 0.8028 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7321, allocations: 4 kB / 0.8028 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7321, allocations: 4 kB / 0.8028 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7321, allocations: 0 / 0.8028 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.7324, allocations: 79.88 kB / 0.8029 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7324, allocations: 4 kB / 0.8029 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.7326, allocations: 23.69 kB / 0.8029 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.7327, allocations: 27.97 kB / 0.803 GB, free: 9.625 MB / 0.6231 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.0001414/0.7328, allocations: 133.9 kB / 0.8031 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.733, allocations: 11.91 kB / 0.8031 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.7353, allocations: 2.346 MB / 0.8054 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7353, allocations: 11.98 kB / 0.8054 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.7354, allocations: 0 / 0.8054 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.7354, allocations: 7.922 kB / 0.8054 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.7386, allocations: 3.419 MB / 0.8088 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.7386, allocations: 7.984 kB / 0.8088 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.7389, allocations: 51.95 kB / 0.8088 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.7389, allocations: 4 kB / 0.8088 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.7389, allocations: 7.938 kB / 0.8088 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7389, allocations: 4 kB / 0.8088 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7389, allocations: 0 / 0.8088 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.7397, allocations: 0.5507 MB / 0.8094 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7399, allocations: 141.5 kB / 0.8095 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.7399, allocations: 7.938 kB / 0.8095 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.7401, allocations: 16 kB / 0.8095 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.7402, allocations: 15.97 kB / 0.8095 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.7402, allocations: 12 kB / 0.8096 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.7403, allocations: 117.3 kB / 0.8097 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.7403, allocations: 0 / 0.8097 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004553/0.7449, allocations: 1.62 MB / 0.8112 GB, free: 0.9961 MB / 0.6231 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.009854/0.7547, allocations: 2.891 MB / 0.8141 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.7559, allocations: 340 kB / 0.8144 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.756, allocations: 0 / 0.8144 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.7565, allocations: 237.2 kB / 0.8146 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/0.7574, allocations: 68.19 kB / 0.8147 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008827/0.7663, allocations: 3.049 MB / 0.8177 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.7668, allocations: 0.7661 MB / 0.8184 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008155/0.7676, allocations: 405.2 kB / 0.8188 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.7679, allocations: 103.4 kB / 0.8189 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.7679, allocations: 0 / 0.8189 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3864/1.154, allocations: 60.9 MB / 0.8784 GB, free: 185.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.4, allocations: 12.95 kB / 0.8784 GB, free: 185.6 MB / 0.67 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)