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.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7502/0.7502, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 56.58 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002319/0.1506, allocations: 1.444 MB / 0.5816 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.151, allocations: 192.2 kB / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.151, allocations: 0 / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.151, allocations: 0 / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.1511, allocations: 7.938 kB / 0.5818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1513, allocations: 43.89 kB / 0.5818 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.1514, allocations: 23.92 kB / 0.5819 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.1515, allocations: 7.984 kB / 0.5819 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.1515, allocations: 11.98 kB / 0.5819 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.1515, allocations: 7.922 kB / 0.5819 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1515, allocations: 4 kB / 0.5819 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.1516, allocations: 31.97 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1516, allocations: 7.984 kB / 0.5819 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1517, allocations: 15.94 kB / 0.5819 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.1518, allocations: 39.88 kB / 0.582 GB, free: 6.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1518, allocations: 0 / 0.582 GB, free: 6.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1518, allocations: 0 / 0.582 GB, free: 6.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1518, allocations: 0 / 0.582 GB, free: 6.84 MB / 494.1 MB 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.000363/0.1522, allocations: 347.7 kB / 0.5823 GB, free: 6.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1522, allocations: 8.031 kB / 0.5823 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1522, allocations: 30.75 kB / 0.5823 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.1523, allocations: 4.938 kB / 0.5823 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.1524, allocations: 172.2 kB / 0.5825 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1524, allocations: 384 / 0.5825 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1524, allocations: 8.375 kB / 0.5825 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1525, allocations: 44 kB / 0.5826 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1526, allocations: 3.938 kB / 0.5826 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1526, allocations: 8 kB / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.1526, allocations: 0 / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1527, allocations: 31.95 kB / 0.5826 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.153, allocations: 260.8 kB / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1531, allocations: 42.53 kB / 0.5829 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.1532, allocations: 20.91 kB / 0.5829 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.547e-05/0.1533, allocations: 81.11 kB / 0.583 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1533, allocations: 38.55 kB / 0.583 GB, free: 5.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1533, allocations: 0 / 0.583 GB, free: 5.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003217/0.1537, allocations: 81.59 kB / 0.5831 GB, free: 5.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1537, allocations: 55.39 kB / 0.5832 GB, free: 5.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.1538, allocations: 102 kB / 0.5833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1538, allocations: 25.83 kB / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.1538, allocations: 88.08 kB / 0.5834 GB, free: 5.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1538, allocations: 3.906 kB / 0.5834 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1539, allocations: 21.7 kB / 0.5834 GB, free: 5.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.154, allocations: 310.8 kB / 0.5837 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.154, allocations: 19.98 kB / 0.5837 GB, free: 4.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.1541, allocations: 16.05 kB / 0.5837 GB, free: 4.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1543, allocations: 44.88 kB / 0.5838 GB, free: 4.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1543, allocations: 3.938 kB / 0.5838 GB, free: 4.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.1545, allocations: 77.5 kB / 0.5838 GB, free: 4.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1545, allocations: 4 kB / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1545, allocations: 0 / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1545, allocations: 0 / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.1546, allocations: 12.03 kB / 0.5839 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1546, allocations: 0 / 0.5839 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1547, allocations: 7.984 kB / 0.5839 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1547, allocations: 0 / 0.5839 GB, free: 4.652 MB / 494.1 MB 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 5.479e-05/0.1547, allocations: 114.4 kB / 0.584 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1548, allocations: 4 kB / 0.584 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.155, allocations: 76.77 kB / 0.584 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.155, allocations: 7.938 kB / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.155, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.155, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1551, allocations: 157.6 kB / 0.5842 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1551, allocations: 0 / 0.5842 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.1552, allocations: 11.98 kB / 0.5842 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1552, allocations: 3.938 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1552, allocations: 0 / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1552, allocations: 0 / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1552, allocations: 4.031 kB / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1554, allocations: 163.5 kB / 0.5844 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.1555, allocations: 85 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1555, allocations: 4 kB / 0.5845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1556, allocations: 3.984 kB / 0.5845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1556, allocations: 8.031 kB / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1556, allocations: 0 / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.1557, allocations: 91.27 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 3.938 kB / 0.5846 GB, free: 3.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1559, allocations: 8 kB / 0.5846 GB, free: 3.816 MB / 494.1 MB 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.0004567/0.1563, allocations: 0.7046 MB / 0.5853 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1565, allocations: 35.95 kB / 0.5853 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1565, allocations: 3.938 kB / 0.5853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.1566, allocations: 23.92 kB / 0.5853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1569, allocations: 8.156 kB / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.1572, allocations: 143.1 kB / 0.5855 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.1574, allocations: 0.6729 MB / 0.5861 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.014e-05/0.1574, allocations: 4 kB / 0.5861 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.1575, allocations: 11.42 kB / 0.5861 GB, free: 2.121 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1575, allocations: 0 / 0.5861 GB, free: 2.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4499/0.6074, allocations: 1.397 MB / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.542, allocations: 3.656 kB / 0.5875 GB, free: 0.8008 MB / 494.1 MB (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)