Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001286/0.001286, allocations: 108.7 kB / 18.94 MB, free: 2.809 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.001689/0.001689, allocations: 192.5 kB / 22.23 MB, free: 5.207 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.544/1.544, allocations: 225.6 MB / 251 MB, free: 13.02 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.147/1.147, allocations: 177.9 MB / 484.2 MB, free: 5.402 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 68.19 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.643, allocations: 95.16 MB / 0.767 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002052/0.645, allocations: 0.5936 MB / 0.7675 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.6467, allocations: 1.123 MB / 0.7686 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.6467, allocations: 0 / 0.7686 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.6467, allocations: 0 / 0.7686 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.647, allocations: 17.48 kB / 0.7687 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.647, allocations: 0 / 0.7687 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.6471, allocations: 2.359 kB / 0.7687 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.6471, allocations: 6.328 kB / 0.7687 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.746e-05/0.6471, allocations: 5.594 kB / 0.7687 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.132e-05/0.6472, allocations: 10.38 kB / 0.7687 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.6472, allocations: 4 kB / 0.7687 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.6473, allocations: 21.06 kB / 0.7687 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.553e-06/0.6473, allocations: 0 / 0.7687 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.6473, allocations: 2.453 kB / 0.7687 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.6474, allocations: 24.58 kB / 0.7687 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6475, allocations: 0 / 0.7687 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6475, allocations: 0 / 0.7687 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6475, allocations: 0 / 0.7687 GB, free: 7.066 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.0002772/0.6477, allocations: 242 kB / 0.769 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6478, allocations: 14.5 kB / 0.769 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.6478, allocations: 0.9375 kB / 0.769 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.079e-05/0.6479, allocations: 105.4 kB / 0.7691 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6479, allocations: 384 / 0.7691 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.6479, allocations: 7.375 kB / 0.7691 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.648, allocations: 36.09 kB / 0.7691 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6481, allocations: 7.891 kB / 0.7691 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6481, allocations: 1.312 kB / 0.7691 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6481, allocations: 0.6094 kB / 0.7691 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.6481, allocations: 9.953 kB / 0.7691 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.6482, allocations: 125.7 kB / 0.7693 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.6485, allocations: 32.28 kB / 0.7693 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.6485, allocations: 9.297 kB / 0.7693 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.6486, allocations: 9.688 kB / 0.7693 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6487, allocations: 39.66 kB / 0.7693 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6487, allocations: 0 / 0.7693 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004637/0.6533, allocations: 0.5697 MB / 0.7699 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.6533, allocations: 52.62 kB / 0.7699 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.706e-05/0.6534, allocations: 89.86 kB / 0.77 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.6534, allocations: 26.92 kB / 0.7701 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.6534, allocations: 80.14 kB / 0.7701 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.6535, allocations: 18.83 kB / 0.7702 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.6535, allocations: 24.66 kB / 0.7702 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.6536, allocations: 320 kB / 0.7705 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.6542, allocations: 79.11 kB / 0.7706 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.6548, allocations: 108.2 kB / 0.7707 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.656, allocations: 187.3 kB / 0.7708 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.656, allocations: 0.6875 kB / 0.7708 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001303/0.6573, allocations: 216.9 kB / 0.771 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6574, allocations: 11.56 kB / 0.7711 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6574, allocations: 4.812 kB / 0.7711 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.6574, allocations: 1.094 kB / 0.7711 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.6578, allocations: 50.33 kB / 0.7711 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6578, allocations: 1.531 kB / 0.7711 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.6582, allocations: 40.55 kB / 0.7712 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.6582, allocations: 5.547 kB / 0.7712 GB, free: 5.508 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 8.149e-05/0.6583, allocations: 111.8 kB / 0.7713 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.6583, allocations: 5.438 kB / 0.7713 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.6597, allocations: 239.2 kB / 0.7715 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6597, allocations: 4.422 kB / 0.7715 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6597, allocations: 1.25 kB / 0.7715 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6597, allocations: 0 / 0.7715 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.6613, allocations: 422.6 kB / 0.7719 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6613, allocations: 0 / 0.7719 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.6617, allocations: 54.28 kB / 0.772 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6617, allocations: 5.516 kB / 0.772 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.6617, allocations: 1.281 kB / 0.772 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6617, allocations: 0 / 0.772 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6617, allocations: 3.938 kB / 0.772 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.663, allocations: 315.8 kB / 0.7723 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.663, allocations: 1.25 kB / 0.7723 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6631, allocations: 1.062 kB / 0.7723 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.6634, allocations: 37.75 kB / 0.7723 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.6635, allocations: 3.516 kB / 0.7723 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6635, allocations: 2.641 kB / 0.7723 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.6635, allocations: 75.28 kB / 0.7724 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.6635, allocations: 1.062 kB / 0.7724 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002607/0.6637, allocations: 20.47 kB / 0.7724 GB, free: 4.758 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 (5): * Single equations (assignments): 5 * 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.0001984/0.6639, allocations: 107.3 kB / 0.7725 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.6653, allocations: 185.3 kB / 0.7727 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6653, allocations: 3.938 kB / 0.7727 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.6659, allocations: 95.19 kB / 0.7728 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.6661, allocations: 1.156 kB / 0.7728 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6673, allocations: 213.3 kB / 0.773 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.6674, allocations: 0.6763 MB / 0.7736 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.6676, allocations: 28.09 kB / 0.7737 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.6677, allocations: 16.41 kB / 0.7737 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.6677, allocations: 0 / 0.7737 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.003592/0.6713, allocations: 0.8315 MB / 0.7745 GB, free: 3.688 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.622581405565143] Failed to read output from testmodel.py, exit status != 0: 0.6806742558255792 0.695818046 0.043799083 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fcfafc8d7b0>