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.007309/0.007309, allocations: 102.6 kB / 15.73 MB, free: 5.492 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.001606/0.001606, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.356/1.356, 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-master/package.mo): time 0.7885/0.7885, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 72.67 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1623, allocations: 80.92 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003496/0.1659, allocations: 1.431 MB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000592/0.1665, allocations: 204.2 kB / 0.6658 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.1666, allocations: 0 / 0.6658 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.1667, allocations: 3.938 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.1668, allocations: 3.938 kB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1672, allocations: 35.91 kB / 0.6658 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1673, allocations: 19.92 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1674, allocations: 15.98 kB / 0.6658 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.1675, allocations: 7.938 kB / 0.6658 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.1675, allocations: 11.98 kB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1676, allocations: 0 / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1677, allocations: 31.97 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.1678, allocations: 11.92 kB / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.1678, allocations: 11.94 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.168, allocations: 39.94 kB / 0.6659 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.168, allocations: 0 / 0.6659 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.168, allocations: 3.938 kB / 0.6659 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.1681, allocations: 0 / 0.6659 GB, free: 4.426 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.0006756/0.1687, allocations: 346.3 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/0.1688, allocations: 9.109 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.1689, allocations: 34.73 kB / 0.6663 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.1689, allocations: 4.938 kB / 0.6663 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1691, allocations: 164.3 kB / 0.6665 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1691, allocations: 384 / 0.6665 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1691, allocations: 4.375 kB / 0.6665 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1694, allocations: 54.23 kB / 0.6665 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1694, allocations: 3.938 kB / 0.6665 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1694, allocations: 0 / 0.6665 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1694, allocations: 0 / 0.6665 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1696, allocations: 35.95 kB / 0.6666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1701, allocations: 245 kB / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1702, allocations: 46.44 kB / 0.6669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.1703, allocations: 20.89 kB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.1704, allocations: 81.11 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1705, allocations: 34.56 kB / 0.667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.1705, allocations: 0 / 0.667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003631/0.1708, allocations: 89.48 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1709, allocations: 51.41 kB / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.171, allocations: 105.8 kB / 0.6672 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.171, allocations: 25.7 kB / 0.6672 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1711, allocations: 84.7 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1711, allocations: 12.12 kB / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1711, allocations: 9.719 kB / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1713, allocations: 323 kB / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.1714, allocations: 15.98 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.1714, allocations: 19.92 kB / 0.6677 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1716, allocations: 36.83 kB / 0.6677 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1716, allocations: 3.938 kB / 0.6677 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.1718, allocations: 73.66 kB / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1718, allocations: 4 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1718, allocations: 3.938 kB / 0.6678 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1718, allocations: 0 / 0.6678 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1719, allocations: 12.23 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.172, allocations: 0 / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.172, allocations: 11.98 kB / 0.6678 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.172, allocations: 0 / 0.6678 GB, free: 2.25 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.12e-05/0.1721, allocations: 121.8 kB / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1721, allocations: 0 / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.1724, allocations: 72.78 kB / 0.668 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1724, allocations: 0 / 0.668 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1724, allocations: 0 / 0.668 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1724, allocations: 0 / 0.668 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1726, allocations: 165.5 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1726, allocations: 4.031 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.1727, allocations: 11.98 kB / 0.6682 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1727, allocations: 0 / 0.6682 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1727, allocations: 0 / 0.6682 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1727, allocations: 0 / 0.6682 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1727, allocations: 0 / 0.6682 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.173, allocations: 175.3 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.173, allocations: 77.11 kB / 0.6684 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.173, allocations: 4 kB / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1731, allocations: 7.984 kB / 0.6684 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1732, allocations: 0 / 0.6684 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1732, allocations: 0 / 0.6684 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.1732, allocations: 83.28 kB / 0.6685 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1732, allocations: 0 / 0.6685 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002438/0.1735, allocations: 19.98 kB / 0.6685 GB, free: 1.418 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.0006932/0.1742, allocations: 0.7059 MB / 0.6692 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.1744, allocations: 40 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1744, allocations: 0 / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.1745, allocations: 27.91 kB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1749, allocations: 0 / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.1754, allocations: 151 kB / 0.6694 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1757, allocations: 0.6806 MB / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.1757, allocations: 4.125 kB / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1757, allocations: 11.44 kB / 0.6701 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1757, allocations: 0 / 0.6701 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.1928, allocations: 1.422 MB / 0.6715 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.534, allocations: 11.39 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)