Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006037/0.006037, allocations: 101.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 182.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8323/0.8323, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4944, allocations: 80.2 MB / 0.6597 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003752/0.4982, allocations: 1.776 MB / 0.6614 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4994, allocations: 0.6611 MB / 0.6621 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.4995, allocations: 1.281 kB / 0.6621 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.4996, allocations: 9.938 kB / 0.6621 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.4997, allocations: 24.23 kB / 0.6621 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.5003, allocations: 160.8 kB / 0.6622 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.5005, allocations: 122.7 kB / 0.6624 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.5007, allocations: 54.8 kB / 0.6624 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.5008, allocations: 65.36 kB / 0.6625 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.5009, allocations: 51.5 kB / 0.6625 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.5009, allocations: 10.72 kB / 0.6625 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.501, allocations: 48.23 kB / 0.6626 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.5011, allocations: 29.97 kB / 0.6626 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.5011, allocations: 60.58 kB / 0.6627 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.5014, allocations: 143.6 kB / 0.6628 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5014, allocations: 0 / 0.6628 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5014, allocations: 0 / 0.6628 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5014, allocations: 0 / 0.6628 GB, free: 8.453 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005885/0.502, allocations: 434.8 kB / 0.6632 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.502, allocations: 14.19 kB / 0.6632 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.5029, allocations: 119.8 kB / 0.6633 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.503, allocations: 174.8 kB / 0.6635 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.5031, allocations: 69.95 kB / 0.6636 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5032, allocations: 6.469 kB / 0.6636 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.5037, allocations: 172.9 kB / 0.6637 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5037, allocations: 0 / 0.6637 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5037, allocations: 8.672 kB / 0.6638 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5038, allocations: 2.406 kB / 0.6638 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.5044, allocations: 161.2 kB / 0.6639 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.5054, allocations: 487.5 kB / 0.6644 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5065, allocations: 219.9 kB / 0.6646 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.5068, allocations: 78.88 kB / 0.6647 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5068, allocations: 2.062 kB / 0.6647 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5068, allocations: 31.88 kB / 0.6647 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.5069, allocations: 4 kB / 0.6647 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001048/0.5079, allocations: 263.6 kB / 0.665 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.5079, allocations: 52.72 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.508, allocations: 144.9 kB / 0.6651 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.5081, allocations: 29.7 kB / 0.6652 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.5081, allocations: 110.3 kB / 0.6653 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.5082, allocations: 14.56 kB / 0.6653 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.5082, allocations: 23.02 kB / 0.6653 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.5083, allocations: 321.4 kB / 0.6656 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.5086, allocations: 77.11 kB / 0.6657 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.5089, allocations: 90.66 kB / 0.6658 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.5095, allocations: 168.3 kB / 0.6659 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5095, allocations: 0 / 0.6659 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006542/0.5101, allocations: 201.9 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5102, allocations: 5.75 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5102, allocations: 5.031 kB / 0.6661 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5102, allocations: 5.094 kB / 0.6661 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.5105, allocations: 34.17 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5105, allocations: 1.125 kB / 0.6662 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.5107, allocations: 36.78 kB / 0.6662 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5107, allocations: 10.92 kB / 0.6662 GB, free: 5.641 MB / 0.4981 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 (8): * Single equations (assignments): 8 * 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.199e-05/0.5108, allocations: 113.8 kB / 0.6663 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.5109, allocations: 8.031 kB / 0.6663 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.5116, allocations: 207.8 kB / 0.6665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5116, allocations: 1.25 kB / 0.6665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5116, allocations: 4.062 kB / 0.6665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5116, allocations: 1.219 kB / 0.6665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.5118, allocations: 245.7 kB / 0.6668 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5119, allocations: 3.938 kB / 0.6668 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.5121, allocations: 40.27 kB / 0.6668 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5121, allocations: 0 / 0.6668 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5121, allocations: 5.125 kB / 0.6668 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5121, allocations: 0.6875 kB / 0.6668 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5121, allocations: 0 / 0.6668 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.5128, allocations: 283 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.5129, allocations: 84.17 kB / 0.6672 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5129, allocations: 7.922 kB / 0.6672 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.5132, allocations: 37.28 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.5133, allocations: 2.906 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5133, allocations: 6.578 kB / 0.6672 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.5133, allocations: 114 kB / 0.6673 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5133, allocations: 0 / 0.6673 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002813/0.5136, allocations: 31.44 kB / 0.6674 GB, free: 4.641 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.0001195/0.5137, allocations: 102.5 kB / 0.6675 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006855/0.5144, allocations: 164.2 kB / 0.6676 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5145, allocations: 0 / 0.6676 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.5148, allocations: 82.58 kB / 0.6677 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.5152, allocations: 3.5 kB / 0.6677 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.516, allocations: 254.6 kB / 0.6679 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.5162, allocations: 0.7025 MB / 0.6686 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.815e-05/0.5163, allocations: 14.06 kB / 0.6686 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.5164, allocations: 15.89 kB / 0.6687 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5164, allocations: 0 / 0.6687 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of Templates: time 0.004679/0.5211, allocations: 1.473 MB / 0.6701 GB, free: 2.762 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)