Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.001181/0.001181, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001404/0.001404, allocations: 177.3 kB / 15.95 MB, free: 216 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.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.000506, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2041, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005381/0.2095, allocations: 3.928 MB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2123, allocations: 2.167 MB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.2125, allocations: 7.875 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2127, allocations: 35.8 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.213, allocations: 79.77 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2142, allocations: 440.2 kB / 0.5938 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2144, allocations: 148.7 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.2145, allocations: 9.562 kB / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2147, allocations: 103.7 kB / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2148, allocations: 67.75 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2148, allocations: 12 kB / 0.5941 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.2154, allocations: 299.5 kB / 0.5944 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.2155, allocations: 35.89 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.2156, allocations: 53.64 kB / 0.5945 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.216, allocations: 219.7 kB / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.216, allocations: 0 / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.216, allocations: 0 / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.216, allocations: 0 / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007017/0.2167, allocations: 473.5 kB / 0.5951 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2167, allocations: 12.03 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.759e-05/0.2168, allocations: 50.55 kB / 0.5952 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.217, allocations: 27.77 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2172, allocations: 206.8 kB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2173, allocations: 12.31 kB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2173, allocations: 16 kB / 0.5954 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.2177, allocations: 244.1 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2177, allocations: 0 / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2178, allocations: 8 kB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.2178, allocations: 11.98 kB / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.2183, allocations: 427.4 kB / 0.5961 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2197, allocations: 0.9877 MB / 0.5971 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.2201, allocations: 154.3 kB / 0.5972 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.222, allocations: 1.844 MB / 0.599 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.2221, allocations: 46.48 kB / 0.599 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.2221, allocations: 0 / 0.599 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004338/0.2226, allocations: 135.6 kB / 0.5992 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.2227, allocations: 55.41 kB / 0.5992 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2229, allocations: 174.5 kB / 0.5994 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2229, allocations: 29.7 kB / 0.5994 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.223, allocations: 143.8 kB / 0.5996 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.2231, allocations: 55.14 kB / 0.5996 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.2231, allocations: 4 kB / 0.5996 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.2233, allocations: 326.8 kB / 0.5999 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/0.2234, allocations: 35.97 kB / 0.6 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2236, allocations: 147.1 kB / 0.6001 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2237, allocations: 51.94 kB / 0.6002 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2237, allocations: 4 kB / 0.6002 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003732/0.224, allocations: 216.5 kB / 0.6004 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2241, allocations: 4 kB / 0.6004 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2241, allocations: 4 kB / 0.6004 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2241, allocations: 8 kB / 0.6004 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.2243, allocations: 60.38 kB / 0.6004 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.2243, allocations: 11.94 kB / 0.6005 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.2245, allocations: 27.69 kB / 0.6005 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.2245, allocations: 15.98 kB / 0.6005 GB, free: 4.797 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001381/0.2247, allocations: 129.8 kB / 0.6006 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.2247, allocations: 19.77 kB / 0.6006 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.2251, allocations: 155 kB / 0.6008 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.2251, allocations: 4 kB / 0.6008 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2251, allocations: 4 kB / 0.6008 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2251, allocations: 0 / 0.6008 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.2254, allocations: 217.5 kB / 0.601 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2254, allocations: 0 / 0.601 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2256, allocations: 31.92 kB / 0.601 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2256, allocations: 0 / 0.601 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2256, allocations: 19.94 kB / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2256, allocations: 0 / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2256, allocations: 0 / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2259, allocations: 219.3 kB / 0.6013 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.226, allocations: 112.9 kB / 0.6014 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.226, allocations: 4 kB / 0.6014 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2263, allocations: 31.86 kB / 0.6014 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2263, allocations: 11.92 kB / 0.6014 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.2263, allocations: 15.98 kB / 0.6014 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.82e-05/0.2264, allocations: 121.6 kB / 0.6015 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2265, allocations: 0 / 0.6015 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004297/0.2269, allocations: 83.92 kB / 0.6016 GB, free: 3.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008345/0.2277, allocations: 0.8126 MB / 0.6024 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.228, allocations: 107.8 kB / 0.6025 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.228, allocations: 0 / 0.6025 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.2281, allocations: 47.91 kB / 0.6026 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.2286, allocations: 52.86 kB / 0.6026 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2778/0.5064, allocations: 3.263 MB / 0.6058 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.5066, allocations: 0.7207 MB / 0.6065 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.5068, allocations: 45.12 kB / 0.6065 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.5069, allocations: 53.25 kB / 0.6066 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.5069, allocations: 0 / 0.6066 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.5227, allocations: 4.712 MB / 0.6112 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.523, allocations: 166.4 kB / 0.6114 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.461, allocations: 0 / 0.6114 GB, free: 47.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: