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.001289/0.001289, allocations: 107.2 kB / 17.08 MB, free: 5.961 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.001349/0.001349, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.592/1.592, allocations: 222.9 MB / 245.7 MB, free: 4.199 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.207/1.207, allocations: 175.5 MB / 473.4 MB, free: 4.895 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.001956/0.001956, allocations: 66.47 kB / 0.652 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2046, allocations: 90.05 MB / 0.7399 GB, free: 396 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003922/0.2086, allocations: 1.252 MB / 0.7412 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007558/0.2161, allocations: 3.265 MB / 0.7444 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.2162, allocations: 0 / 0.7444 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2163, allocations: 0 / 0.7444 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.2164, allocations: 11.91 kB / 0.7444 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.2172, allocations: 99.55 kB / 0.7445 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2173, allocations: 35.84 kB / 0.7445 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2174, allocations: 8 kB / 0.7445 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.2175, allocations: 23.91 kB / 0.7445 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.2176, allocations: 19.92 kB / 0.7445 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2176, allocations: 0 / 0.7445 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.218, allocations: 83.8 kB / 0.7446 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2181, allocations: 4 kB / 0.7446 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.2181, allocations: 11.94 kB / 0.7446 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2184, allocations: 75.72 kB / 0.7447 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2184, allocations: 0 / 0.7447 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2185, allocations: 0 / 0.7447 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2185, allocations: 4 kB / 0.7447 GB, free: 11.47 MB / 0.5606 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.0006183/0.2191, allocations: 351.3 kB / 0.745 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2192, allocations: 8.031 kB / 0.7451 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2193, allocations: 4.938 kB / 0.7451 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.2195, allocations: 168.3 kB / 0.7452 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2196, allocations: 8.312 kB / 0.7452 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.2196, allocations: 4.375 kB / 0.7452 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.2198, allocations: 65.77 kB / 0.7453 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2199, allocations: 4 kB / 0.7453 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2199, allocations: 0 / 0.7453 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2199, allocations: 4 kB / 0.7453 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.22, allocations: 15.97 kB / 0.7453 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.2203, allocations: 169.6 kB / 0.7455 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2205, allocations: 50.56 kB / 0.7455 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.2206, allocations: 20.84 kB / 0.7455 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.2221, allocations: 0.591 MB / 0.7461 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.2221, allocations: 34.56 kB / 0.7462 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.2222, allocations: 0 / 0.7462 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000947/0.2231, allocations: 306.2 kB / 0.7465 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.2232, allocations: 55.41 kB / 0.7465 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2233, allocations: 101.8 kB / 0.7466 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2234, allocations: 29.64 kB / 0.7466 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.2235, allocations: 88.09 kB / 0.7467 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.2235, allocations: 31.73 kB / 0.7467 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.2236, allocations: 25.72 kB / 0.7468 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2238, allocations: 322.8 kB / 0.7471 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.2239, allocations: 8 kB / 0.7471 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.224, allocations: 61.08 kB / 0.7471 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.2242, allocations: 77.19 kB / 0.7472 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2242, allocations: 4 kB / 0.7472 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002497/0.2244, allocations: 93.55 kB / 0.7473 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2245, allocations: 4 kB / 0.7473 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2245, allocations: 0 / 0.7473 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2245, allocations: 4 kB / 0.7473 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2247, allocations: 20.44 kB / 0.7473 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2247, allocations: 4 kB / 0.7473 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.2248, allocations: 7.922 kB / 0.7473 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2248, allocations: 8.125 kB / 0.7474 GB, free: 8.355 MB / 0.5606 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 0.0001319/0.225, allocations: 121.8 kB / 0.7475 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.225, allocations: 7.953 kB / 0.7475 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.2251, allocations: 7.969 kB / 0.7475 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2251, allocations: 0 / 0.7475 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2251, allocations: 0 / 0.7475 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2252, allocations: 3.938 kB / 0.7475 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.2257, allocations: 177.6 kB / 0.7477 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2257, allocations: 0 / 0.7477 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2259, allocations: 23.92 kB / 0.7477 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2259, allocations: 4 kB / 0.7477 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2259, allocations: 0 / 0.7477 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2259, allocations: 0 / 0.7477 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2259, allocations: 3.938 kB / 0.7477 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.2264, allocations: 179.4 kB / 0.7479 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.2265, allocations: 77.11 kB / 0.7479 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2266, allocations: 8 kB / 0.7479 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2268, allocations: 8.031 kB / 0.7479 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.2268, allocations: 4 kB / 0.748 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2268, allocations: 3.938 kB / 0.748 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.2269, allocations: 79.28 kB / 0.748 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2269, allocations: 0 / 0.748 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004547/0.2274, allocations: 12 kB / 0.748 GB, free: 7.555 MB / 0.5606 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.0002814/0.2277, allocations: 107.6 kB / 0.7481 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2279, allocations: 40.02 kB / 0.7482 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2279, allocations: 0 / 0.7482 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.228, allocations: 19.94 kB / 0.7482 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.2284, allocations: 8.094 kB / 0.7482 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2295, allocations: 359.5 kB / 0.7486 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.23, allocations: 0.6846 MB / 0.7492 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2301, allocations: 11.44 kB / 0.7492 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2301, allocations: 4 kB / 0.7492 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of Templates: time 0.003675/0.2338, allocations: 0.7775 MB / 0.75 GB, free: 5.48 MB / 0.5606 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.292371440998977] Failed to read output from testmodel.py, exit status != 0: 0.2421459900069749 0.27054535299999993 0.047297985 Calling exit ...