Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_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.00536/0.00536, allocations: 103.4 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.001318/0.001318, allocations: 188 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8372/0.8372, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.22 kB / 0.5851 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1634, allocations: 80.93 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002582/0.1661, allocations: 1.431 MB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.1665, allocations: 196.3 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.1666, allocations: 4 kB / 0.6657 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.1667, allocations: 7.875 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.1667, allocations: 0 / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.167, allocations: 39.83 kB / 0.6658 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.1671, allocations: 19.98 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.1672, allocations: 8 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.1672, allocations: 3.938 kB / 0.6658 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.1673, allocations: 11.98 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1673, allocations: 7.938 kB / 0.6658 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.1674, allocations: 35.97 kB / 0.6659 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.1674, allocations: 7.984 kB / 0.6659 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1674, allocations: 19.86 kB / 0.6659 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1676, allocations: 35.89 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1676, allocations: 0 / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1676, allocations: 4 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1676, allocations: 0 / 0.6659 GB, free: 4.449 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.0004224/0.168, allocations: 338.3 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1681, allocations: 17.09 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.1681, allocations: 34.75 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.1681, allocations: 4.938 kB / 0.6663 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1683, allocations: 164.4 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1683, allocations: 384 / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1683, allocations: 4.359 kB / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1685, allocations: 50.23 kB / 0.6665 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1685, allocations: 3.938 kB / 0.6665 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1685, allocations: 0 / 0.6665 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1685, allocations: 4 kB / 0.6665 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.1687, allocations: 39.89 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.169, allocations: 249 kB / 0.6668 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1691, allocations: 46.48 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.1692, allocations: 16.91 kB / 0.6669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/0.1693, allocations: 85.11 kB / 0.667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1693, allocations: 38.5 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1693, allocations: 0 / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.1697, allocations: 81.55 kB / 0.6671 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1697, allocations: 51.41 kB / 0.6671 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.1698, allocations: 110 kB / 0.6672 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1698, allocations: 25.7 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1699, allocations: 84.7 kB / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1699, allocations: 8.125 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.1699, allocations: 13.72 kB / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1701, allocations: 318.8 kB / 0.6677 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.1701, allocations: 11.98 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.1702, allocations: 27.92 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1704, allocations: 44.75 kB / 0.6677 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1704, allocations: 3.938 kB / 0.6677 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.1706, allocations: 61.61 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1706, allocations: 9.562 kB / 0.6678 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1706, allocations: 4.094 kB / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1707, allocations: 0 / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.1708, allocations: 11.98 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1708, allocations: 0 / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1708, allocations: 7.984 kB / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1708, allocations: 4 kB / 0.6678 GB, free: 2.266 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 7.947e-05/0.1709, allocations: 109.8 kB / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.171, allocations: 4 kB / 0.6679 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1712, allocations: 76.72 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1712, allocations: 0 / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1712, allocations: 0 / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1712, allocations: 4 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1714, allocations: 161.8 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1714, allocations: 0 / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.1715, allocations: 11.98 kB / 0.6682 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1715, allocations: 0 / 0.6682 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1715, allocations: 8.031 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1715, allocations: 0 / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1715, allocations: 0 / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1718, allocations: 171.3 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.1718, allocations: 77.11 kB / 0.6684 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.1718, allocations: 0 / 0.6684 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.1719, allocations: 12.02 kB / 0.6684 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1719, allocations: 4 kB / 0.6684 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.172, allocations: 0 / 0.6684 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.172, allocations: 83.28 kB / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.172, allocations: 0 / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002264/0.1722, allocations: 15.98 kB / 0.6685 GB, free: 1.438 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.0005532/0.1728, allocations: 0.702 MB / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.173, allocations: 39.89 kB / 0.6693 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.173, allocations: 0 / 0.6693 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.1731, allocations: 24.08 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1734, allocations: 4 kB / 0.6693 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.1739, allocations: 150.9 kB / 0.6694 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1741, allocations: 0.6768 MB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1741, allocations: 4 kB / 0.6701 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1742, allocations: 11.44 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1742, allocations: 0 / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1921, allocations: 1.449 MB / 0.6715 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/7.546, allocations: 10.27 kB / 0.6715 GB, free: 14.35 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)