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.0008288/0.0008288, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000896/0.0008959, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7542/0.7542, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4137, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1437/0.5575, allocations: 123.2 MB / 0.7035 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.5819, allocations: 21 MB / 0.724 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.5821, allocations: 4 kB / 0.724 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.5824, allocations: 39.8 kB / 0.724 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.5827, allocations: 79.48 kB / 0.7241 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.597, allocations: 5.128 MB / 0.7291 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.5974, allocations: 279.9 kB / 0.7294 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.5975, allocations: 5.562 kB / 0.7294 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.5978, allocations: 135.5 kB / 0.7295 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.598, allocations: 87.66 kB / 0.7296 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.598, allocations: 8 kB / 0.7296 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01997/0.618, allocations: 10.47 MB / 0.7398 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6182, allocations: 35.89 kB / 0.7399 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.6182, allocations: 53.64 kB / 0.7399 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007782/0.626, allocations: 4.089 MB / 0.7439 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6261, allocations: 0 / 0.7439 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6261, allocations: 4 kB / 0.7439 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6261, allocations: 0 / 0.7439 GB, free: 11.48 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.00324/0.6293, allocations: 1.142 MB / 0.745 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6294, allocations: 12.03 kB / 0.745 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.6294, allocations: 50.55 kB / 0.7451 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.6305, allocations: 83.72 kB / 0.7452 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.6308, allocations: 222.8 kB / 0.7454 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6308, allocations: 11.95 kB / 0.7454 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.6308, allocations: 20 kB / 0.7454 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6319, allocations: 452.5 kB / 0.7458 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6319, allocations: 0 / 0.7458 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.6319, allocations: 15.94 kB / 0.7459 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6319, allocations: 7.938 kB / 0.7459 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.633, allocations: 0.5969 MB / 0.7465 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6341, allocations: 0.8822 MB / 0.7473 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.6348, allocations: 253.1 kB / 0.7476 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.635, allocations: 68.83 kB / 0.7476 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07723/0.7122, allocations: 35.35 MB / 0.7821 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.7123, allocations: 34.56 kB / 0.7822 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.7123, allocations: 0 / 0.7822 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001575/0.7139, allocations: 414.9 kB / 0.7826 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.7139, allocations: 55.41 kB / 0.7826 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7141, allocations: 140.4 kB / 0.7828 GB, free: 380 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.7141, allocations: 29.7 kB / 0.7828 GB, free: 344 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.7142, allocations: 116.3 kB / 0.7829 GB, free: 224 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.7142, allocations: 90.73 kB / 0.783 GB, free: 132 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.7143, allocations: 7.938 kB / 0.783 GB, free: 124 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7144, allocations: 326.8 kB / 0.7833 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7146, allocations: 75.95 kB / 0.7834 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.7148, allocations: 130.6 kB / 0.7835 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.715, allocations: 92.62 kB / 0.7836 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.715, allocations: 0 / 0.7836 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006321/0.7156, allocations: 295.9 kB / 0.7839 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7156, allocations: 8 kB / 0.7839 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7157, allocations: 0 / 0.7839 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.7157, allocations: 4 kB / 0.7839 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.716, allocations: 79.88 kB / 0.784 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.716, allocations: 4 kB / 0.784 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.7161, allocations: 19.75 kB / 0.784 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.7162, allocations: 23.98 kB / 0.784 GB, free: 15.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.7163, allocations: 141.9 kB / 0.7841 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7165, allocations: 19.8 kB / 0.7842 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.7188, allocations: 2.343 MB / 0.7864 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7188, allocations: 11.98 kB / 0.7865 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7188, allocations: 0 / 0.7865 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7188, allocations: 0 / 0.7865 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.722, allocations: 3.424 MB / 0.7898 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.722, allocations: 4 kB / 0.7898 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.7223, allocations: 55.95 kB / 0.7899 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.7223, allocations: 3.984 kB / 0.7899 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.7223, allocations: 4 kB / 0.7899 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7223, allocations: 0 / 0.7899 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7223, allocations: 0 / 0.7899 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.7231, allocations: 0.5498 MB / 0.7904 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.7232, allocations: 140.5 kB / 0.7905 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.7232, allocations: 4 kB / 0.7905 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.7235, allocations: 23.98 kB / 0.7906 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.7235, allocations: 19.97 kB / 0.7906 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.7236, allocations: 8 kB / 0.7906 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.801e-05/0.7237, allocations: 115.1 kB / 0.7907 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7237, allocations: 0 / 0.7907 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004791/0.7285, allocations: 1.62 MB / 0.7923 GB, free: 6.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009962/0.7384, allocations: 2.884 MB / 0.7951 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006736/0.7392, allocations: 320.3 kB / 0.7954 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7392, allocations: 0 / 0.7954 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.7395, allocations: 241.5 kB / 0.7956 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.7401, allocations: 72.12 kB / 0.7957 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.7447, allocations: 2.04 MB / 0.7977 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.7451, allocations: 0.7664 MB / 0.7984 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000571/0.7456, allocations: 397.3 kB / 0.7988 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.7458, allocations: 103.4 kB / 0.7989 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.7458, allocations: 0 / 0.7989 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4155/1.161, allocations: 61.41 MB / 0.8589 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/1.161, allocations: 160.6 kB / 0.859 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.859/7.021, allocations: 4 kB / 0.859 GB, free: 181.8 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: