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.001394/0.001394, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001463/0.001463, allocations: 187.6 kB / 22.23 MB, free: 5.105 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.55/1.55, allocations: 225.6 MB / 251 MB, free: 13.05 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/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.203/1.203, allocations: 177.9 MB / 484.2 MB, free: 5.395 MB / 382.1 MB " [Timeout remaining time 178] 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.002639/0.002639, allocations: 63.81 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7479, allocations: 95.17 MB / 0.7669 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.004444/0.7523, allocations: 1.476 MB / 0.7684 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.7538, allocations: 0.5798 MB / 0.7689 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.7538, allocations: 1.156 kB / 0.7689 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.7539, allocations: 4.688 kB / 0.7689 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.754, allocations: 8.891 kB / 0.7689 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.7544, allocations: 45.09 kB / 0.769 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7545, allocations: 29.83 kB / 0.769 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.7547, allocations: 4.609 kB / 0.769 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.7548, allocations: 20.14 kB / 0.769 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.7549, allocations: 14.42 kB / 0.7691 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.7549, allocations: 6.781 kB / 0.7691 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.7551, allocations: 55.25 kB / 0.7691 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.7551, allocations: 1.219 kB / 0.7691 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.7552, allocations: 10.91 kB / 0.7691 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.7554, allocations: 70.42 kB / 0.7692 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7554, allocations: 5.406 kB / 0.7692 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.614e-06/0.7554, allocations: 0 / 0.7692 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.7554, allocations: 0 / 0.7692 GB, free: 6.762 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004924/0.7559, allocations: 277.9 kB / 0.7695 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.756, allocations: 12.47 kB / 0.7695 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.756, allocations: 3.125 kB / 0.7695 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7561, allocations: 116.1 kB / 0.7696 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7561, allocations: 384 / 0.7696 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.7561, allocations: 1.844 kB / 0.7696 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7563, allocations: 46.86 kB / 0.7696 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7563, allocations: 0 / 0.7696 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7563, allocations: 1.312 kB / 0.7696 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7563, allocations: 3.938 kB / 0.7696 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.7565, allocations: 28.05 kB / 0.7697 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.7569, allocations: 225.7 kB / 0.7699 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.757, allocations: 30.12 kB / 0.7699 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.757, allocations: 11.86 kB / 0.7699 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/0.7579, allocations: 96.67 kB / 0.77 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.7579, allocations: 30.56 kB / 0.77 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.7579, allocations: 0 / 0.77 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.7582, allocations: 68.91 kB / 0.7701 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7583, allocations: 55.53 kB / 0.7702 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.7584, allocations: 110.5 kB / 0.7703 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.7584, allocations: 25.7 kB / 0.7703 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.7584, allocations: 92.83 kB / 0.7704 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7584, allocations: 3.953 kB / 0.7704 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.7585, allocations: 15.34 kB / 0.7704 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.7585, allocations: 316 kB / 0.7707 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.7586, allocations: 8.359 kB / 0.7707 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.7587, allocations: 15.91 kB / 0.7707 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.7588, allocations: 31.83 kB / 0.7708 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7588, allocations: 1.125 kB / 0.7708 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001525/0.7589, allocations: 59.28 kB / 0.7708 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.7589, allocations: 5.312 kB / 0.7708 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7589, allocations: 0 / 0.7708 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.759, allocations: 1.062 kB / 0.7708 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.7591, allocations: 10.77 kB / 0.7708 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7591, allocations: 0 / 0.7708 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.7591, allocations: 5.016 kB / 0.7708 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.7591, allocations: 1.062 kB / 0.7708 GB, free: 5.223 MB / 0.5762 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 6.766e-05/0.7592, allocations: 115.8 kB / 0.7709 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.7592, allocations: 1.125 kB / 0.7709 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.7594, allocations: 65.06 kB / 0.771 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7594, allocations: 4.594 kB / 0.771 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7594, allocations: 1.125 kB / 0.771 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7594, allocations: 1.969 kB / 0.771 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.7596, allocations: 137.1 kB / 0.7711 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7596, allocations: 0 / 0.7711 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.7597, allocations: 6.344 kB / 0.7712 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.7597, allocations: 0 / 0.7712 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.7597, allocations: 1.062 kB / 0.7712 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7597, allocations: 1 kB / 0.7712 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7597, allocations: 0 / 0.7712 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.7599, allocations: 158.8 kB / 0.7713 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.7599, allocations: 7.578 kB / 0.7713 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.7599, allocations: 1.125 kB / 0.7713 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.76, allocations: 5.953 kB / 0.7713 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.76, allocations: 7.156 kB / 0.7713 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.76, allocations: 0.9688 kB / 0.7713 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.7601, allocations: 89.2 kB / 0.7714 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7601, allocations: 4 kB / 0.7714 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003696/0.7605, allocations: 19.42 kB / 0.7714 GB, free: 4.633 MB / 0.5762 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.0002184/0.7607, allocations: 107.8 kB / 0.7715 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.7609, allocations: 23.48 kB / 0.7716 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7609, allocations: 4.781 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.7609, allocations: 18.91 kB / 0.7716 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.7612, allocations: 11.66 kB / 0.7716 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.7617, allocations: 122.2 kB / 0.7717 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.7618, allocations: 0.6821 MB / 0.7724 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.7619, allocations: 1.938 kB / 0.7724 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.7619, allocations: 12.47 kB / 0.7724 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7619, allocations: 0 / 0.7724 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.00481/0.7667, allocations: 0.6872 MB / 0.7731 GB, free: 3.59 MB / 0.5762 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: 6.88955894857645] Failed to read output from testmodel.py, exit status != 0: 0.7786507047712803 0.7973370580000001 0.038158236000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbc6b1517b0>