Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.0009203/0.0009203, 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.001138/0.001138, 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.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.9442/0.9442, allocations: 135.3 MB / 426.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 11.98 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1905, allocations: 82.31 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001402/0.192, allocations: 0.9744 MB / 0.5884 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1955, allocations: 2.743 MB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.1955, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.1956, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.1956, allocations: 3.984 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.196, allocations: 75.62 kB / 0.5912 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.1961, allocations: 43.84 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.1962, allocations: 0 / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.1966, allocations: 135.7 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.1967, allocations: 23.91 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1967, allocations: 0 / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1968, allocations: 39.92 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.1968, allocations: 11.91 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1969, allocations: 29.7 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.197, allocations: 48.11 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.197, allocations: 0 / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.197, allocations: 0 / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.197, allocations: 0 / 0.5915 GB, free: 14.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003844/0.1974, allocations: 335.3 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1975, allocations: 12.03 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.1975, allocations: 30.56 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1976, allocations: 7.953 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1977, allocations: 167 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1977, allocations: 8 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1977, allocations: 7.938 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1979, allocations: 53.67 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1979, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1979, allocations: 4 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1979, allocations: 3.984 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.198, allocations: 19.98 kB / 0.5921 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.1982, allocations: 165.5 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1983, allocations: 62.48 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1983, allocations: 13.09 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.1991, allocations: 0.5947 MB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1991, allocations: 30.56 kB / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1991, allocations: 0 / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006129/0.1997, allocations: 306.2 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1998, allocations: 55.34 kB / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.1999, allocations: 105.8 kB / 0.5934 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1999, allocations: 29.7 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.2, allocations: 88.08 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2, allocations: 31.62 kB / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2, allocations: 0 / 0.5935 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2002, allocations: 322.8 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.2002, allocations: 12 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.2003, allocations: 53.14 kB / 0.5939 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.2003, allocations: 20 kB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2003, allocations: 0 / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001319/0.2005, allocations: 93.55 kB / 0.594 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2005, allocations: 7.953 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2005, allocations: 4 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2005, allocations: 0 / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.2006, allocations: 23.92 kB / 0.594 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2006, allocations: 4 kB / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.2007, allocations: 0 / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2007, allocations: 8.125 kB / 0.5941 GB, free: 11.71 MB / 0.4981 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 (12): * Single equations (assignments): 12 * 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 8.935e-05/0.2008, allocations: 113.8 kB / 0.5942 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2008, allocations: 11.89 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.2008, allocations: 11.92 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2008, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2009, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2009, allocations: 4 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2011, allocations: 173.6 kB / 0.5944 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2011, allocations: 4 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.2012, allocations: 16 kB / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2012, allocations: 0 / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2012, allocations: 4.422 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2012, allocations: 3.953 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2013, allocations: 4.281 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.2015, allocations: 167.4 kB / 0.5945 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.2015, allocations: 97.16 kB / 0.5946 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2016, allocations: 4 kB / 0.5946 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.2016, allocations: 4 kB / 0.5946 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.2017, allocations: 15.88 kB / 0.5947 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2017, allocations: 0 / 0.5947 GB, free: 11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.2017, allocations: 83.28 kB / 0.5947 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2017, allocations: 0 / 0.5947 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.202, allocations: 15.94 kB / 0.5948 GB, free: 10.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0005133/0.2025, allocations: 0.7007 MB / 0.5954 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.2026, allocations: 47.91 kB / 0.5955 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2026, allocations: 0 / 0.5955 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.2027, allocations: 15.98 kB / 0.5955 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2029, allocations: 7.953 kB / 0.5955 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/0.2039, allocations: 0.6807 MB / 0.5962 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2043, allocations: 0.6888 MB / 0.5968 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.2043, allocations: 3.984 kB / 0.5969 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.2044, allocations: 15.5 kB / 0.5969 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.2044, allocations: 0 / 0.5969 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.2158, allocations: 1.428 MB / 0.5983 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.216, allocations: 185.9 kB / 0.5984 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.923, allocations: 0 / 0.5984 GB, free: 7.113 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: