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.001187/0.001186, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001434/0.001434, allocations: 168.7 kB / 15.95 MB, free: 204 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.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.925/0.925, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 8 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004321/0.2039, allocations: 4.204 MB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.2063, allocations: 2.486 MB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.2064, allocations: 0 / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.2066, allocations: 31.81 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.2069, allocations: 87.48 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.2079, allocations: 412.6 kB / 0.5945 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.2081, allocations: 263.9 kB / 0.5948 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.2082, allocations: 9.547 kB / 0.5948 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2084, allocations: 119.5 kB / 0.5949 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2085, allocations: 83.67 kB / 0.595 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2085, allocations: 8 kB / 0.595 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.2091, allocations: 263.4 kB / 0.5952 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.2091, allocations: 39.89 kB / 0.5953 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.2092, allocations: 53.64 kB / 0.5953 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.2095, allocations: 219.7 kB / 0.5955 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2095, allocations: 8 kB / 0.5955 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2095, allocations: 0 / 0.5955 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2095, allocations: 0 / 0.5955 GB, free: 10.61 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.0006231/0.2101, allocations: 475 kB / 0.596 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2102, allocations: 15.97 kB / 0.596 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.2102, allocations: 46.55 kB / 0.596 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2104, allocations: 31.77 kB / 0.5961 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2106, allocations: 210.8 kB / 0.5963 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2106, allocations: 8.328 kB / 0.5963 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2106, allocations: 16 kB / 0.5963 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.211, allocations: 240.2 kB / 0.5965 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.211, allocations: 3.938 kB / 0.5965 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.211, allocations: 8 kB / 0.5965 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.2111, allocations: 4 kB / 0.5965 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.2115, allocations: 431.4 kB / 0.5969 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.2125, allocations: 0.9488 MB / 0.5979 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.2128, allocations: 154.3 kB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.2129, allocations: 72.81 kB / 0.5981 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.2141, allocations: 1.829 MB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.2141, allocations: 34.56 kB / 0.5999 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.2141, allocations: 0 / 0.5999 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000308/0.2144, allocations: 145.2 kB / 0.6 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2145, allocations: 59.34 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2146, allocations: 174.5 kB / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2147, allocations: 25.7 kB / 0.6003 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.2148, allocations: 139.8 kB / 0.6004 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.2148, allocations: 63.17 kB / 0.6005 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2148, allocations: 4 kB / 0.6005 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2149, allocations: 322.8 kB / 0.6008 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.215, allocations: 31.98 kB / 0.6008 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.2151, allocations: 143.2 kB / 0.601 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.2152, allocations: 47.94 kB / 0.601 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2152, allocations: 8 kB / 0.601 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000295/0.2155, allocations: 209.1 kB / 0.6012 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2156, allocations: 4 kB / 0.6012 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.2156, allocations: 12.39 kB / 0.6012 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2156, allocations: 12 kB / 0.6012 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2158, allocations: 55.86 kB / 0.6013 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2158, allocations: 4 kB / 0.6013 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.2159, allocations: 31.69 kB / 0.6013 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2159, allocations: 15.98 kB / 0.6013 GB, free: 3.953 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.0001034/0.216, allocations: 129.8 kB / 0.6015 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2161, allocations: 19.77 kB / 0.6015 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.2164, allocations: 162.9 kB / 0.6016 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2164, allocations: 0 / 0.6016 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2164, allocations: 4 kB / 0.6017 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2164, allocations: 3.984 kB / 0.6017 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.2166, allocations: 213.5 kB / 0.6019 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2167, allocations: 4 kB / 0.6019 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.2167, allocations: 23.98 kB / 0.6019 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2168, allocations: 0 / 0.6019 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2168, allocations: 7.953 kB / 0.6019 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2168, allocations: 4 kB / 0.6019 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2168, allocations: 4 kB / 0.6019 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.217, allocations: 226.3 kB / 0.6021 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.2171, allocations: 104.9 kB / 0.6022 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2171, allocations: 0 / 0.6022 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2173, allocations: 23.94 kB / 0.6022 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2173, allocations: 11.98 kB / 0.6022 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2174, allocations: 15.98 kB / 0.6023 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.2175, allocations: 120.7 kB / 0.6024 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2175, allocations: 0 / 0.6024 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003632/0.2178, allocations: 75.94 kB / 0.6025 GB, free: 2.723 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.0006041/0.2185, allocations: 0.8214 MB / 0.6033 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.2187, allocations: 111.8 kB / 0.6034 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2187, allocations: 4 kB / 0.6034 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.2187, allocations: 44.84 kB / 0.6034 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.2192, allocations: 58.88 kB / 0.6035 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2207, allocations: 1.011 MB / 0.6045 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.33/0.5507, allocations: 0.7117 MB / 0.6051 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000248/0.551, allocations: 44.55 kB / 0.6052 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.551, allocations: 45.27 kB / 0.6052 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.551, allocations: 0 / 0.6052 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.5655, allocations: 4.763 MB / 0.6099 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.5656, allocations: 172.8 kB / 0.61 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.472, allocations: 0.5469 kB / 0.61 GB, free: 48.37 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: