Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 119.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 175.7 MB / 479.1 MB, free: 3.406 MB / 366.1 MB " [Timeout remaining time 179] 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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.28 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.189, allocations: 94.54 MB / 0.7586 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00232/0.1914, allocations: 1.268 MB / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004102/0.1955, allocations: 3.286 MB / 0.7631 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1955, allocations: 0 / 0.7631 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1955, allocations: 3.938 kB / 0.7631 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.1956, allocations: 7.922 kB / 0.7631 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.1961, allocations: 107.5 kB / 0.7632 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.1961, allocations: 31.92 kB / 0.7632 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1962, allocations: 7.984 kB / 0.7632 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.1962, allocations: 19.86 kB / 0.7632 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1963, allocations: 15.98 kB / 0.7633 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1963, allocations: 0 / 0.7633 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1966, allocations: 91.72 kB / 0.7633 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1966, allocations: 4 kB / 0.7634 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1966, allocations: 15.94 kB / 0.7634 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1968, allocations: 75.78 kB / 0.7634 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1968, allocations: 3.938 kB / 0.7634 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1968, allocations: 0 / 0.7634 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1968, allocations: 0 / 0.7634 GB, free: 12.13 MB / 0.5762 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.0005186/0.1973, allocations: 343.4 kB / 0.7638 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1974, allocations: 12.03 kB / 0.7638 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.1974, allocations: 4.938 kB / 0.7638 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1976, allocations: 172.3 kB / 0.764 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1976, allocations: 4.375 kB / 0.764 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1977, allocations: 4.375 kB / 0.764 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1978, allocations: 61.78 kB / 0.764 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1978, allocations: 0 / 0.764 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1978, allocations: 0 / 0.764 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1978, allocations: 4 kB / 0.764 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.1979, allocations: 19.97 kB / 0.764 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1981, allocations: 161.6 kB / 0.7642 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1982, allocations: 54.5 kB / 0.7642 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.1982, allocations: 20.84 kB / 0.7643 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.199, allocations: 0.591 MB / 0.7648 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1991, allocations: 30.56 kB / 0.7649 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1991, allocations: 3.938 kB / 0.7649 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.1997, allocations: 306.2 kB / 0.7652 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1997, allocations: 51.41 kB / 0.7652 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.1998, allocations: 105.8 kB / 0.7653 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1999, allocations: 25.7 kB / 0.7653 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1999, allocations: 84.09 kB / 0.7654 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1999, allocations: 31.73 kB / 0.7655 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2, allocations: 29.66 kB / 0.7655 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2001, allocations: 330.8 kB / 0.7658 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.2002, allocations: 8 kB / 0.7658 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2003, allocations: 53.14 kB / 0.7659 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.2004, allocations: 73.08 kB / 0.7659 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2004, allocations: 4 kB / 0.7659 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.2005, allocations: 93.72 kB / 0.766 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2006, allocations: 7.938 kB / 0.766 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2006, allocations: 4 kB / 0.766 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2006, allocations: 0 / 0.766 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.2007, allocations: 24.56 kB / 0.7661 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2007, allocations: 7.984 kB / 0.7661 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.774e-05/0.2007, allocations: 3.938 kB / 0.7661 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2007, allocations: 4 kB / 0.7661 GB, free: 9.031 MB / 0.5762 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.105e-05/0.2008, allocations: 117.8 kB / 0.7662 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.2008, allocations: 11.95 kB / 0.7662 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.2009, allocations: 7.969 kB / 0.7662 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2009, allocations: 0 / 0.7662 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2009, allocations: 0 / 0.7662 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2009, allocations: 11.94 kB / 0.7662 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2012, allocations: 173.7 kB / 0.7664 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2012, allocations: 4 kB / 0.7664 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.2012, allocations: 15.98 kB / 0.7664 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2012, allocations: 0 / 0.7664 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.2013, allocations: 0 / 0.7664 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2013, allocations: 0 / 0.7664 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2013, allocations: 4 kB / 0.7664 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2015, allocations: 183.4 kB / 0.7666 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2016, allocations: 81.11 kB / 0.7667 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2016, allocations: 7.938 kB / 0.7667 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2017, allocations: 4.031 kB / 0.7667 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.2017, allocations: 4 kB / 0.7667 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2017, allocations: 7.875 kB / 0.7667 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2018, allocations: 79.28 kB / 0.7668 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2018, allocations: 0 / 0.7668 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002402/0.202, allocations: 16 kB / 0.7668 GB, free: 8.223 MB / 0.5762 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.0001376/0.2022, allocations: 107.2 kB / 0.7669 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.2023, allocations: 35.92 kB / 0.7669 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2023, allocations: 0 / 0.7669 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.2023, allocations: 19.94 kB / 0.7669 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2026, allocations: 7.984 kB / 0.7669 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.2032, allocations: 359.9 kB / 0.7673 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.2036, allocations: 0.6924 MB / 0.768 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.2036, allocations: 11.44 kB / 0.768 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2036, allocations: 0 / 0.768 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.002452/0.2061, allocations: 0.7736 MB / 0.7687 GB, free: 6.16 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.122364018112421] Failed to read output from testmodel.py, exit status != 0: 0.21311931707896292 0.226383247 0.026897614 Calling exit ...