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.0009783/0.0009783, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008604/0.008604, allocations: 170.5 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003872, allocations: 8 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001556/0.1958, allocations: 0.9861 MB / 0.589 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.2007, allocations: 2.878 MB / 0.5918 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.2008, allocations: 0 / 0.5918 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2008, allocations: 0 / 0.5918 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.2009, allocations: 7.922 kB / 0.5918 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.2015, allocations: 91.62 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.2016, allocations: 35.91 kB / 0.592 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.2017, allocations: 7.984 kB / 0.592 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.2022, allocations: 147.5 kB / 0.5921 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.2023, allocations: 15.92 kB / 0.5921 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2023, allocations: 4 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.2025, allocations: 63.83 kB / 0.5922 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.2026, allocations: 15.97 kB / 0.5922 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.2026, allocations: 37.64 kB / 0.5922 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2029, allocations: 72 kB / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2029, allocations: 0 / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2029, allocations: 0 / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2029, allocations: 4 kB / 0.5923 GB, free: 14.12 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.0004652/0.2034, allocations: 327.6 kB / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.2034, allocations: 12.03 kB / 0.5926 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.2035, allocations: 30.75 kB / 0.5927 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.2035, allocations: 8.938 kB / 0.5927 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2037, allocations: 172.2 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2037, allocations: 4.375 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.2037, allocations: 8.359 kB / 0.5929 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.2039, allocations: 57.61 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2039, allocations: 3.938 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2039, allocations: 7.938 kB / 0.5929 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2039, allocations: 0 / 0.5929 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.204, allocations: 19.98 kB / 0.5929 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.2042, allocations: 157.7 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.2043, allocations: 54.55 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.2044, allocations: 17.09 kB / 0.5932 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.2052, allocations: 0.6023 MB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2053, allocations: 34.56 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2053, allocations: 0 / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006722/0.206, allocations: 298.2 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.206, allocations: 51.41 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.2061, allocations: 101.8 kB / 0.5942 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2061, allocations: 29.69 kB / 0.5942 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.2062, allocations: 88.12 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2062, allocations: 27.64 kB / 0.5944 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.2063, allocations: 21.7 kB / 0.5944 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2064, allocations: 314.8 kB / 0.5947 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.2065, allocations: 15.98 kB / 0.5947 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.2065, allocations: 53.08 kB / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2066, allocations: 73.09 kB / 0.5948 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2067, allocations: 0 / 0.5948 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.2068, allocations: 97.45 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2068, allocations: 8.125 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2069, allocations: 4 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2069, allocations: 3.938 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.207, allocations: 27.92 kB / 0.5949 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.207, allocations: 3.938 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.207, allocations: 8.219 kB / 0.595 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.207, allocations: 4 kB / 0.595 GB, free: 10.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/0.2071, allocations: 109.8 kB / 0.5951 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2072, allocations: 4 kB / 0.5951 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.2072, allocations: 15.95 kB / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2072, allocations: 4 kB / 0.5951 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2072, allocations: 448 / 0.5951 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2072, allocations: 7.922 kB / 0.5951 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2075, allocations: 173.7 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2075, allocations: 4 kB / 0.5953 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/0.2076, allocations: 12 kB / 0.5953 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2076, allocations: 0 / 0.5953 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2076, allocations: 0 / 0.5953 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2076, allocations: 7.938 kB / 0.5953 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2076, allocations: 0 / 0.5953 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.2079, allocations: 179.4 kB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.208, allocations: 89.14 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.208, allocations: 0 / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2081, allocations: 4 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2081, allocations: 3.938 kB / 0.5955 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2081, allocations: 4 kB / 0.5955 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.2082, allocations: 83.27 kB / 0.5956 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2082, allocations: 4 kB / 0.5956 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.2084, allocations: 12 kB / 0.5956 GB, free: 10.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/0.2089, allocations: 0.7045 MB / 0.5963 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2091, allocations: 44.16 kB / 0.5964 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.2091, allocations: 4 kB / 0.5964 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.2091, allocations: 11.94 kB / 0.5964 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2094, allocations: 15.92 kB / 0.5964 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.211, allocations: 1.593 MB / 0.598 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2114, allocations: 0.6848 MB / 0.5986 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.375e-05/0.2114, allocations: 8 kB / 0.5986 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.2115, allocations: 19.42 kB / 0.5987 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.2115, allocations: 0 / 0.5987 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/0.3721, allocations: 1.446 MB / 0.6001 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.3723, allocations: 210.7 kB / 0.6003 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.092, allocations: 0 / 0.6003 GB, free: 5.391 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/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)