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.008274/0.008274, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001233/0.001233, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7903/0.7903, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.88 kB / 0.5814 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.495, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003145/0.4982, allocations: 1.776 MB / 0.6614 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4994, allocations: 0.6602 MB / 0.6621 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.4995, allocations: 1.188 kB / 0.6621 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.4995, allocations: 10.5 kB / 0.6621 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.4996, allocations: 19.83 kB / 0.6621 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.5002, allocations: 168.5 kB / 0.6622 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.5004, allocations: 123.1 kB / 0.6624 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.5006, allocations: 56.41 kB / 0.6624 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.5007, allocations: 57.97 kB / 0.6625 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.5008, allocations: 50.67 kB / 0.6625 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.5009, allocations: 13.94 kB / 0.6625 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.501, allocations: 44.94 kB / 0.6626 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.5011, allocations: 33.78 kB / 0.6626 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.5011, allocations: 54.95 kB / 0.6627 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.5014, allocations: 142.8 kB / 0.6628 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5014, allocations: 1.438 kB / 0.6628 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5014, allocations: 0.7031 kB / 0.6628 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5014, allocations: 0 / 0.6628 GB, free: 8.223 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.0005615/0.502, allocations: 436.3 kB / 0.6632 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.502, allocations: 13.62 kB / 0.6632 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.5028, allocations: 108.4 kB / 0.6633 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5029, allocations: 188.8 kB / 0.6635 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.503, allocations: 66.47 kB / 0.6636 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.503, allocations: 9.562 kB / 0.6636 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.5035, allocations: 174.7 kB / 0.6638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5035, allocations: 1.156 kB / 0.6638 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5035, allocations: 5.406 kB / 0.6638 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5036, allocations: 5.656 kB / 0.6638 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.5041, allocations: 159.3 kB / 0.6639 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.5051, allocations: 489.7 kB / 0.6644 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.506, allocations: 220 kB / 0.6646 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5062, allocations: 78.44 kB / 0.6647 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.5063, allocations: 5.172 kB / 0.6647 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5063, allocations: 32.91 kB / 0.6647 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.5063, allocations: 0 / 0.6647 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009077/0.5072, allocations: 266.7 kB / 0.665 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.5073, allocations: 52.66 kB / 0.665 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.5074, allocations: 142.3 kB / 0.6651 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5074, allocations: 26.89 kB / 0.6652 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.5074, allocations: 113 kB / 0.6653 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.5075, allocations: 14.55 kB / 0.6653 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.5075, allocations: 24.61 kB / 0.6653 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.5076, allocations: 317.6 kB / 0.6656 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.5079, allocations: 80.38 kB / 0.6657 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5081, allocations: 90.44 kB / 0.6658 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.5086, allocations: 165.6 kB / 0.6659 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5087, allocations: 0 / 0.6659 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005667/0.5092, allocations: 200.6 kB / 0.6661 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5093, allocations: 6.438 kB / 0.6661 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5093, allocations: 3.938 kB / 0.6661 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5093, allocations: 5.156 kB / 0.6661 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5095, allocations: 39.16 kB / 0.6662 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5096, allocations: 1.094 kB / 0.6662 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.5097, allocations: 35.66 kB / 0.6662 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5098, allocations: 3.031 kB / 0.6662 GB, free: 5.422 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 7.768e-05/0.5098, allocations: 122.1 kB / 0.6663 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.5099, allocations: 8.531 kB / 0.6663 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.5105, allocations: 207.8 kB / 0.6665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5105, allocations: 1.156 kB / 0.6665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5106, allocations: 4.062 kB / 0.6665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.5106, allocations: 1.125 kB / 0.6665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.5108, allocations: 237.1 kB / 0.6668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5108, allocations: 1.906 kB / 0.6668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.511, allocations: 30.55 kB / 0.6668 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.511, allocations: 11.92 kB / 0.6668 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.511, allocations: 5.719 kB / 0.6668 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.511, allocations: 3.938 kB / 0.6668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5111, allocations: 5.078 kB / 0.6668 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.5116, allocations: 282.1 kB / 0.6671 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.5117, allocations: 87.7 kB / 0.6672 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5117, allocations: 5.281 kB / 0.6672 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.512, allocations: 28.95 kB / 0.6672 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.512, allocations: 5.391 kB / 0.6672 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.512, allocations: 11.77 kB / 0.6672 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.5121, allocations: 105 kB / 0.6673 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5121, allocations: 1.406 kB / 0.6673 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000268/0.5124, allocations: 30.88 kB / 0.6674 GB, free: 4.422 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.000121/0.5125, allocations: 97.75 kB / 0.6675 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.5131, allocations: 165.4 kB / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5131, allocations: 0 / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.5134, allocations: 86.56 kB / 0.6677 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.5137, allocations: 7.969 kB / 0.6677 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.5143, allocations: 253.8 kB / 0.6679 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.5145, allocations: 0.703 MB / 0.6686 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.503e-05/0.5146, allocations: 14.78 kB / 0.6686 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.5146, allocations: 15.27 kB / 0.6687 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5146, allocations: 0 / 0.6687 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.003798/0.5184, allocations: 1.477 MB / 0.6701 GB, free: 2.539 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)