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.001012/0.001012, 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.001287/0.001287, 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.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.945/0.945, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 10.16 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 82.3 MB / 0.5874 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4611/0.6307, allocations: 123.2 MB / 0.7078 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.6575, allocations: 21 MB / 0.7283 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.6578, allocations: 5.062 kB / 0.7283 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.6581, allocations: 37.86 kB / 0.7283 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.6586, allocations: 79.19 kB / 0.7284 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02092/0.6795, allocations: 5.129 MB / 0.7334 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.6801, allocations: 277.6 kB / 0.7337 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.728e-05/0.6802, allocations: 9 kB / 0.7337 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.6806, allocations: 129.9 kB / 0.7338 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.6808, allocations: 89.69 kB / 0.7339 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.6808, allocations: 11.78 kB / 0.7339 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02338/0.7042, allocations: 10.46 MB / 0.7441 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.7044, allocations: 35.83 kB / 0.7442 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.7045, allocations: 53.64 kB / 0.7442 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.715, allocations: 4.082 MB / 0.7482 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.7151, allocations: 4 kB / 0.7482 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7151, allocations: 0 / 0.7482 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7151, allocations: 0 / 0.7482 GB, free: 7.805 MB / 0.5606 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.004282/0.7194, allocations: 1.16 MB / 0.7493 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.7194, allocations: 12.03 kB / 0.7494 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/0.7195, allocations: 46.55 kB / 0.7494 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7207, allocations: 89.56 kB / 0.7495 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.721, allocations: 230.8 kB / 0.7497 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7211, allocations: 12 kB / 0.7497 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.7211, allocations: 19.95 kB / 0.7497 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.7221, allocations: 453.1 kB / 0.7502 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7222, allocations: 0 / 0.7502 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.7222, allocations: 8 kB / 0.7502 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7222, allocations: 4 kB / 0.7502 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.7233, allocations: 0.5892 MB / 0.7508 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.7245, allocations: 0.8861 MB / 0.7516 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.7253, allocations: 246.4 kB / 0.7519 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7254, allocations: 78.58 kB / 0.7519 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08262/0.8081, allocations: 35.32 MB / 0.7864 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.8082, allocations: 42.56 kB / 0.7865 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/0.8082, allocations: 3.938 kB / 0.7865 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.00177/0.8099, allocations: 419.3 kB / 0.7869 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.81, allocations: 55.41 kB / 0.7869 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.8102, allocations: 136.2 kB / 0.7871 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.8102, allocations: 33.7 kB / 0.7871 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.8103, allocations: 112.3 kB / 0.7872 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.8104, allocations: 78.75 kB / 0.7873 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.8105, allocations: 12 kB / 0.7873 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8106, allocations: 330.8 kB / 0.7876 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.8108, allocations: 75.95 kB / 0.7877 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.8111, allocations: 132.3 kB / 0.7878 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.8113, allocations: 91.2 kB / 0.7879 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8113, allocations: 11.92 kB / 0.7879 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006784/0.812, allocations: 285.3 kB / 0.7882 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.812, allocations: 8 kB / 0.7882 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.812, allocations: 0 / 0.7882 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.812, allocations: 4 kB / 0.7882 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.8124, allocations: 83.88 kB / 0.7883 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.8124, allocations: 12.14 kB / 0.7883 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.8125, allocations: 21 kB / 0.7883 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.8126, allocations: 23.98 kB / 0.7883 GB, free: 11.39 MB / 0.6075 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.0001419/0.8127, allocations: 125.7 kB / 0.7884 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.8129, allocations: 23.75 kB / 0.7885 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.8155, allocations: 2.335 MB / 0.7907 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.8155, allocations: 15.98 kB / 0.7907 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.8155, allocations: 0 / 0.7907 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8156, allocations: 7.922 kB / 0.7908 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.8189, allocations: 3.424 MB / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.819, allocations: 0 / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.8192, allocations: 56.77 kB / 0.7942 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.8192, allocations: 0 / 0.7942 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.8193, allocations: 11.98 kB / 0.7942 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8193, allocations: 0 / 0.7942 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8193, allocations: 0 / 0.7942 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.8201, allocations: 0.5509 MB / 0.7947 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.8203, allocations: 148.5 kB / 0.7948 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.8203, allocations: 2.75 kB / 0.7948 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.8206, allocations: 19.98 kB / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.8206, allocations: 15.98 kB / 0.7949 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.8206, allocations: 15.98 kB / 0.7949 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.8207, allocations: 109.8 kB / 0.795 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8207, allocations: 0 / 0.795 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004759/0.8255, allocations: 1.628 MB / 0.7966 GB, free: 2.754 MB / 0.6075 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.01018/0.8357, allocations: 2.874 MB / 0.7994 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007953/0.8366, allocations: 320.4 kB / 0.7997 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8366, allocations: 3.938 kB / 0.7997 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.837, allocations: 241.2 kB / 0.7999 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.8376, allocations: 63.5 kB / 0.8 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.8432, allocations: 2.042 MB / 0.802 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.8436, allocations: 0.7664 MB / 0.8027 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006053/0.8442, allocations: 409.2 kB / 0.8031 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.8444, allocations: 99.39 kB / 0.8032 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of SimCode: time 8.02e-07/0.8445, allocations: 7.875 kB / 0.8032 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.407/1.251, allocations: 61.42 MB / 0.8632 GB, free: 218 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.252, allocations: 163.6 kB / 0.8634 GB, free: 217.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/7.168, allocations: 0 / 0.8634 GB, free: 217.8 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: