Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.001492/0.001492, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001527/0.001527, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.407/1.407, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.063/1.063, allocations: 175.7 MB / 479.1 MB, free: 3.664 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.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72.47 kB / 0.6664 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2004, allocations: 94.54 MB / 0.7587 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002692/0.2031, allocations: 1.469 MB / 0.7601 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.2035, allocations: 147.5 kB / 0.7603 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.2035, allocations: 0 / 0.7603 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.2036, allocations: 3.938 kB / 0.7603 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.2036, allocations: 3.938 kB / 0.7603 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2039, allocations: 39.89 kB / 0.7603 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.204, allocations: 43.84 kB / 0.7603 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2041, allocations: 19.92 kB / 0.7604 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.2042, allocations: 15.94 kB / 0.7604 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.2042, allocations: 23.92 kB / 0.7604 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2042, allocations: 4 kB / 0.7604 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.2043, allocations: 35.95 kB / 0.7604 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.2043, allocations: 15.92 kB / 0.7605 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.2044, allocations: 11.94 kB / 0.7605 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2045, allocations: 63.73 kB / 0.7605 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2045, allocations: 0 / 0.7605 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2045, allocations: 0 / 0.7605 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2045, allocations: 3.938 kB / 0.7605 GB, free: 15.31 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005025/0.205, allocations: 367.3 kB / 0.7609 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2051, allocations: 12.03 kB / 0.7609 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.2061, allocations: 208.5 kB / 0.7611 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2063, allocations: 172.3 kB / 0.7613 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2063, allocations: 384 / 0.7613 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.2063, allocations: 8.375 kB / 0.7613 GB, free: 14.47 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.2069, allocations: 191.9 kB / 0.7614 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2069, allocations: 4.172 kB / 0.7614 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2069, allocations: 3.938 kB / 0.7615 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2069, allocations: 4 kB / 0.7615 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.2077, allocations: 287.5 kB / 0.7617 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.2086, allocations: 429.4 kB / 0.7621 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2097, allocations: 286.2 kB / 0.7624 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.21, allocations: 100.8 kB / 0.7625 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.21, allocations: 11.81 kB / 0.7625 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2101, allocations: 34.56 kB / 0.7626 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2101, allocations: 0 / 0.7626 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.001102/0.2112, allocations: 309.3 kB / 0.7628 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2112, allocations: 55.41 kB / 0.7629 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2113, allocations: 113.8 kB / 0.763 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2113, allocations: 37.7 kB / 0.763 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.2114, allocations: 84.14 kB / 0.7631 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2114, allocations: 7.953 kB / 0.7631 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.2115, allocations: 17.7 kB / 0.7632 GB, free: 12.42 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2116, allocations: 318.8 kB / 0.7635 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2119, allocations: 99.8 kB / 0.7636 GB, free: 12 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.2123, allocations: 99.88 kB / 0.7636 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.2129, allocations: 168.6 kB / 0.7638 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2129, allocations: 4 kB / 0.7638 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006941/0.2136, allocations: 209.4 kB / 0.764 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2136, allocations: 8 kB / 0.764 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2136, allocations: 0 / 0.764 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2136, allocations: 0 / 0.764 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.2138, allocations: 35.94 kB / 0.7641 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2138, allocations: 4 kB / 0.7641 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.214, allocations: 35.83 kB / 0.7641 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.214, allocations: 4 kB / 0.7641 GB, free: 11.43 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001005/0.2141, allocations: 117.8 kB / 0.7642 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.2142, allocations: 7.953 kB / 0.7642 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.2142, allocations: 11.91 kB / 0.7642 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2142, allocations: 0 / 0.7642 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2142, allocations: 4 kB / 0.7642 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2142, allocations: 0 / 0.7642 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.2145, allocations: 209.5 kB / 0.7644 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2145, allocations: 0 / 0.7644 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.2147, allocations: 35.94 kB / 0.7645 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2147, allocations: 384 / 0.7645 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2147, allocations: 7.938 kB / 0.7645 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2147, allocations: 0 / 0.7645 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2147, allocations: 4.328 kB / 0.7645 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.2155, allocations: 323.1 kB / 0.7648 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2155, allocations: 85.09 kB / 0.7649 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2155, allocations: 4 kB / 0.7649 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2157, allocations: 27.95 kB / 0.7649 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2158, allocations: 0 / 0.7649 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.2158, allocations: 0 / 0.7649 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.2159, allocations: 95.27 kB / 0.765 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.2159, allocations: 0 / 0.765 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002301/0.2161, allocations: 20 kB / 0.765 GB, free: 10.39 MB / 0.5763 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 (3): * Single equations (assignments): 3 * 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.000125/0.2162, allocations: 103.2 kB / 0.7651 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000719/0.2169, allocations: 187.8 kB / 0.7653 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2169, allocations: 4 kB / 0.7653 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.2173, allocations: 103.8 kB / 0.7654 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2175, allocations: 10.19 kB / 0.7654 GB, free: 9.988 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.2184, allocations: 287 kB / 0.7657 GB, free: 9.676 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.2188, allocations: 0.6846 MB / 0.7663 GB, free: 8.965 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.2188, allocations: 11.44 kB / 0.7663 GB, free: 8.953 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.2188, allocations: 0 / 0.7663 GB, free: 8.953 MB / 0.5763 GB Notification: Performance of Templates: time 0.002767/0.2216, allocations: 1.174 MB / 0.7675 GB, free: 7.777 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.0014598951675] Failed to read output from testmodel.py, exit status != 0: 0.2288359310477972 0.24192903599999996 0.034749947 Calling exit ...