Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001349/0.001349, allocations: 107.5 kB / 18.7 MB, free: 3.32 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.001429/0.001429, allocations: 192.4 kB / 21.95 MB, free: 72 kB / 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.386/1.386, allocations: 225.6 MB / 250.7 MB, free: 13.41 MB / 206.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.086/1.086, allocations: 175.8 MB / 481.6 MB, free: 7.855 MB / 382.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 75.83 kB / 0.6701 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5108, allocations: 94.53 MB / 0.7624 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002426/0.5132, allocations: 1.478 MB / 0.7638 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.514, allocations: 0.5809 MB / 0.7644 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.5141, allocations: 0.75 kB / 0.7644 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.5141, allocations: 5.531 kB / 0.7644 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.5141, allocations: 5.469 kB / 0.7644 GB, free: 9.098 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.5144, allocations: 45.09 kB / 0.7644 GB, free: 9.078 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.5145, allocations: 27.69 kB / 0.7645 GB, free: 9.066 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.5146, allocations: 7.875 kB / 0.7645 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.5147, allocations: 15.94 kB / 0.7645 GB, free: 9.055 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.5147, allocations: 14.58 kB / 0.7645 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5147, allocations: 6.766 kB / 0.7645 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.5148, allocations: 51.19 kB / 0.7646 GB, free: 9.031 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.5149, allocations: 6.234 kB / 0.7646 GB, free: 9.027 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.5149, allocations: 12.2 kB / 0.7646 GB, free: 9.02 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.515, allocations: 66.83 kB / 0.7646 GB, free: 9 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.515, allocations: 0 / 0.7646 GB, free: 9 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.152e-06/0.515, allocations: 0 / 0.7646 GB, free: 9 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.515, allocations: 9.062 kB / 0.7647 GB, free: 8.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003563/0.5154, allocations: 353.1 kB / 0.765 GB, free: 8.621 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5154, allocations: 9.719 kB / 0.765 GB, free: 8.621 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.5155, allocations: 3.484 kB / 0.765 GB, free: 8.621 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.5155, allocations: 171 kB / 0.7652 GB, free: 8.422 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.5155, allocations: 2.688 kB / 0.7652 GB, free: 8.422 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.5156, allocations: 2.234 kB / 0.7652 GB, free: 8.422 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5157, allocations: 47.33 kB / 0.7652 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5157, allocations: 1.188 kB / 0.7652 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5157, allocations: 0.875 kB / 0.7652 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5157, allocations: 0.6562 kB / 0.7652 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.5158, allocations: 21.12 kB / 0.7652 GB, free: 8.379 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.516, allocations: 267.3 kB / 0.7655 GB, free: 8.09 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.5161, allocations: 31.78 kB / 0.7655 GB, free: 8.062 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.5162, allocations: 13.23 kB / 0.7655 GB, free: 8.055 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.5168, allocations: 480.5 kB / 0.766 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.5168, allocations: 33.12 kB / 0.766 GB, free: 7.539 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5168, allocations: 0 / 0.766 GB, free: 7.539 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0002191/0.5171, allocations: 61.53 kB / 0.7661 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.5171, allocations: 56.34 kB / 0.7661 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.5171, allocations: 112 kB / 0.7662 GB, free: 7.328 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.5172, allocations: 25.7 kB / 0.7663 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.5172, allocations: 86.61 kB / 0.7664 GB, free: 7.211 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.5172, allocations: 10.25 kB / 0.7664 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.5172, allocations: 13.44 kB / 0.7664 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.5173, allocations: 317.4 kB / 0.7667 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.5173, allocations: 10.62 kB / 0.7667 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.5173, allocations: 12.55 kB / 0.7667 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.5174, allocations: 33.86 kB / 0.7667 GB, free: 6.844 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5174, allocations: 0 / 0.7667 GB, free: 6.844 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.5175, allocations: 55.14 kB / 0.7668 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5175, allocations: 5.438 kB / 0.7668 GB, free: 6.805 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.5175, allocations: 4.734 kB / 0.7668 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5175, allocations: 1.469 kB / 0.7668 GB, free: 6.801 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.5176, allocations: 10.34 kB / 0.7668 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5176, allocations: 0 / 0.7668 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.5176, allocations: 3.328 kB / 0.7668 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.5176, allocations: 0 / 0.7668 GB, free: 6.797 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 (2): * Single equations (assignments): 2 * 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 4.29e-05/0.5177, allocations: 116.2 kB / 0.7669 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.5177, allocations: 1.734 kB / 0.7669 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.5178, allocations: 70.03 kB / 0.767 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5179, allocations: 5.719 kB / 0.767 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5179, allocations: 0 / 0.767 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5179, allocations: 1.875 kB / 0.767 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.518, allocations: 162.7 kB / 0.7672 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.518, allocations: 2.734 kB / 0.7672 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.518, allocations: 10.64 kB / 0.7672 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.518, allocations: 0 / 0.7672 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.518, allocations: 0.75 kB / 0.7672 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.518, allocations: 0 / 0.7672 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.518, allocations: 1.875 kB / 0.7672 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.5181, allocations: 151 kB / 0.7673 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.5182, allocations: 79 kB / 0.7674 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.5182, allocations: 0.7969 kB / 0.7674 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.5182, allocations: 6.984 kB / 0.7674 GB, free: 6.188 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.5183, allocations: 5.875 kB / 0.7674 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5183, allocations: 1.625 kB / 0.7674 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.5183, allocations: 87.42 kB / 0.7675 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.5183, allocations: 0 / 0.7675 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00023/0.5185, allocations: 25.2 kB / 0.7675 GB, free: 6.094 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 (2): * Single equations (assignments): 2 * 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.0001341/0.5186, allocations: 115.3 kB / 0.7676 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5188, allocations: 23.42 kB / 0.7676 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5188, allocations: 0 / 0.7676 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.5188, allocations: 10.31 kB / 0.7677 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.519, allocations: 17.19 kB / 0.7677 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.5193, allocations: 156.8 kB / 0.7678 GB, free: 5.828 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.5194, allocations: 0.6838 MB / 0.7685 GB, free: 5.129 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.5194, allocations: 9.469 kB / 0.7685 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.5194, allocations: 0 / 0.7685 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of Templates: time 0.002387/0.5218, allocations: 0.8139 MB / 0.7693 GB, free: 5.051 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.21653547999449] Failed to read output from testmodel.py, exit status != 0: 0.5296846849378198 0.540765806 0.02299137 Calling exit ...