Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.009283/0.009283, allocations: 100.6 kB / 15.73 MB, free: 6.477 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.001638/0.001638, allocations: 195.2 kB / 16.67 MB, free: 6.379 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 76.55 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003683/0.1627, allocations: 1.429 MB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005/0.1633, allocations: 204.2 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1634, allocations: 0 / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.1634, allocations: 0 / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.1635, allocations: 11.86 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1638, allocations: 39.91 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.1639, allocations: 19.92 kB / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.164, allocations: 8 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.1641, allocations: 11.92 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1641, allocations: 11.98 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1641, allocations: 0 / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/0.1642, allocations: 31.97 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1643, allocations: 15.92 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1643, allocations: 7.938 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1644, allocations: 39.94 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1644, allocations: 4 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1644, allocations: 0 / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.1645, allocations: 0 / 0.661 GB, free: 12.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004555/0.1649, allocations: 350.2 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.165, allocations: 8.031 kB / 0.6613 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.165, allocations: 38.69 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.165, allocations: 0.9375 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1652, allocations: 160.4 kB / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1652, allocations: 4.375 kB / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1652, allocations: 4.375 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1654, allocations: 50.23 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1654, allocations: 3.938 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1654, allocations: 0 / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1654, allocations: 0 / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1656, allocations: 35.95 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.166, allocations: 256.8 kB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1661, allocations: 42.48 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.1662, allocations: 20.91 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.07e-05/0.1663, allocations: 77.11 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1663, allocations: 34.56 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1663, allocations: 4 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.1667, allocations: 81.58 kB / 0.6621 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1667, allocations: 55.41 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1668, allocations: 105.8 kB / 0.6623 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1669, allocations: 25.7 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1669, allocations: 84.7 kB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.167, allocations: 16.25 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.167, allocations: 9.719 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1671, allocations: 322.8 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.1672, allocations: 11.98 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1673, allocations: 15.98 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1674, allocations: 48.81 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1674, allocations: 3.938 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.1676, allocations: 65.61 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1676, allocations: 5.562 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1676, allocations: 0 / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1677, allocations: 4 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.1677, allocations: 11.92 kB / 0.6629 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1678, allocations: 0 / 0.6629 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1678, allocations: 12.02 kB / 0.6629 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1678, allocations: 4 kB / 0.6629 GB, free: 9.988 MB / 0.4981 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 8.138e-05/0.1679, allocations: 114.4 kB / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1679, allocations: 0 / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1682, allocations: 76.72 kB / 0.663 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1682, allocations: 0 / 0.663 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1682, allocations: 8.016 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1682, allocations: 3.984 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1684, allocations: 161.5 kB / 0.6632 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1684, allocations: 0 / 0.6632 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.1684, allocations: 11.98 kB / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1684, allocations: 0 / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1685, allocations: 0 / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1685, allocations: 0 / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1685, allocations: 0 / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1687, allocations: 167.5 kB / 0.6634 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.1687, allocations: 81.11 kB / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1687, allocations: 0 / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1688, allocations: 7.984 kB / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1689, allocations: 0 / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1689, allocations: 4.188 kB / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.1689, allocations: 95.3 kB / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1689, allocations: 0 / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002257/0.1692, allocations: 16 kB / 0.6636 GB, free: 9.152 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 (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.0005387/0.1697, allocations: 0.6968 MB / 0.6643 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1699, allocations: 39.95 kB / 0.6643 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1699, allocations: 0 / 0.6643 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.17, allocations: 23.92 kB / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1703, allocations: 0 / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.1708, allocations: 147.1 kB / 0.6645 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.171, allocations: 0.6846 MB / 0.6651 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.1711, allocations: 0 / 0.6651 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1711, allocations: 15.38 kB / 0.6651 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1711, allocations: 0 / 0.6651 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.1887, allocations: 1.44 MB / 0.6666 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.644, allocations: 4.656 kB / 0.6666 GB, free: 6.109 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)