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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008005/0.008005, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001255/0.001255, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8313/0.8313, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.78 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1538, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003832/0.1577, allocations: 1.774 MB / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1594, allocations: 0.6593 MB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1596, allocations: 8 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.679e-05/0.1597, allocations: 15.8 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1599, allocations: 11.81 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.1607, allocations: 173.3 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.161, allocations: 123.6 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1612, allocations: 41.11 kB / 0.6619 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1614, allocations: 59.83 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1615, allocations: 55.77 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.1615, allocations: 8 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1617, allocations: 51.95 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.1618, allocations: 31.91 kB / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.1618, allocations: 55.7 kB / 0.6622 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1621, allocations: 142.3 kB / 0.6623 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1621, allocations: 0 / 0.6623 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1621, allocations: 0 / 0.6623 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.1622, allocations: 4 kB / 0.6623 GB, free: 7.512 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.0007412/0.1629, allocations: 435.8 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.163, allocations: 12.03 kB / 0.6627 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.272e-05/0.163, allocations: 46.73 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.1639, allocations: 104.7 kB / 0.6629 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1641, allocations: 188 kB / 0.6631 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1642, allocations: 67.95 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1642, allocations: 12.31 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.1648, allocations: 166.9 kB / 0.6633 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1648, allocations: 4 kB / 0.6633 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1648, allocations: 8 kB / 0.6633 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1648, allocations: 0 / 0.6633 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.1654, allocations: 155.8 kB / 0.6635 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1665, allocations: 489.6 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.1675, allocations: 222.3 kB / 0.6641 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.1678, allocations: 76.91 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1678, allocations: 7.984 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1678, allocations: 34.56 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1679, allocations: 0 / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009598/0.1688, allocations: 257.5 kB / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1689, allocations: 63.34 kB / 0.6646 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.169, allocations: 139.9 kB / 0.6647 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.169, allocations: 25.7 kB / 0.6647 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.1691, allocations: 108.2 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1691, allocations: 15.75 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.1692, allocations: 29.69 kB / 0.6649 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1693, allocations: 322.8 kB / 0.6652 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1696, allocations: 75.92 kB / 0.6652 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1699, allocations: 94.48 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.1705, allocations: 166.6 kB / 0.6655 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1705, allocations: 0 / 0.6655 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006548/0.1711, allocations: 205.3 kB / 0.6657 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1712, allocations: 8 kB / 0.6657 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1712, allocations: 3.938 kB / 0.6657 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1712, allocations: 0 / 0.6657 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1715, allocations: 40.02 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.1715, allocations: 0 / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1717, allocations: 31.89 kB / 0.6658 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1717, allocations: 4.156 kB / 0.6658 GB, free: 3.711 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 0.0001127/0.1718, allocations: 118.7 kB / 0.6659 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.1719, allocations: 7.906 kB / 0.6659 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.1726, allocations: 214.1 kB / 0.6661 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1726, allocations: 4 kB / 0.6661 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1726, allocations: 0 / 0.6661 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1726, allocations: 0 / 0.6661 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1728, allocations: 238.1 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1729, allocations: 4 kB / 0.6663 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1731, allocations: 31.95 kB / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1731, allocations: 0 / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1731, allocations: 7.922 kB / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1731, allocations: 0 / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1731, allocations: 3.984 kB / 0.6664 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.1738, allocations: 295.4 kB / 0.6667 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.1738, allocations: 85.02 kB / 0.6667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1739, allocations: 3.938 kB / 0.6667 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1741, allocations: 31.89 kB / 0.6668 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1742, allocations: 8 kB / 0.6668 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1742, allocations: 11.98 kB / 0.6668 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.1743, allocations: 105 kB / 0.6669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1743, allocations: 0 / 0.6669 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002669/0.1746, allocations: 27.91 kB / 0.6669 GB, free: 2.43 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.0009645/0.1755, allocations: 0.8215 MB / 0.6677 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006134/0.1762, allocations: 163.8 kB / 0.6679 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1762, allocations: 0 / 0.6679 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.1765, allocations: 79.86 kB / 0.668 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1769, allocations: 17.52 kB / 0.668 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1798, allocations: 1.828 MB / 0.6698 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.18, allocations: 0.7041 MB / 0.6704 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.1801, allocations: 16 kB / 0.6705 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.1802, allocations: 27.42 kB / 0.6705 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1802, allocations: 3.938 kB / 0.6705 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.199, allocations: 2.777 MB / 0.6732 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.677, allocations: 6.969 kB / 0.6732 GB, free: 11.93 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)