Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001055/0.001055, allocations: 199.3 kB / 16.14 MB, free: 6.688 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8462/0.8462, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.75 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002583/0.1607, allocations: 1.481 MB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007477/0.1615, allocations: 471.8 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.1615, allocations: 0 / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.1616, allocations: 0 / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.1616, allocations: 3.938 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1618, allocations: 19.98 kB / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.1619, allocations: 23.92 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.162, allocations: 8 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.162, allocations: 8 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.1621, allocations: 19.91 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1621, allocations: 0 / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.1622, allocations: 23.92 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1622, allocations: 3.984 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1622, allocations: 7.938 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.1623, allocations: 31.89 kB / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1624, allocations: 0 / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1624, allocations: 0 / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1624, allocations: 4 kB / 0.5859 GB, free: 2.801 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.000422/0.1628, allocations: 343.7 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1628, allocations: 12.03 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1629, allocations: 38.73 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1629, allocations: 4.938 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.163, allocations: 168.3 kB / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1631, allocations: 384 / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.1631, allocations: 4.312 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1632, allocations: 57.8 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1633, allocations: 0 / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1633, allocations: 3.938 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1633, allocations: 0 / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1635, allocations: 35.95 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1638, allocations: 244.9 kB / 0.5867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1639, allocations: 50.48 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.164, allocations: 24.89 kB / 0.5868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.1642, allocations: 85.05 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1642, allocations: 30.56 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1642, allocations: 0 / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003343/0.1645, allocations: 85.64 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1646, allocations: 51.41 kB / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.1647, allocations: 109.8 kB / 0.5871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1647, allocations: 25.7 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.1647, allocations: 84.14 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1647, allocations: 7.844 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1648, allocations: 13.84 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1649, allocations: 322.8 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.165, allocations: 19.98 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.1651, allocations: 11.98 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1652, allocations: 44.81 kB / 0.5876 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1652, allocations: 4.062 kB / 0.5877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002318/0.1655, allocations: 65.58 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1655, allocations: 4 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1655, allocations: 0 / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1655, allocations: 3.938 kB / 0.5877 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.1656, allocations: 11.98 kB / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1656, allocations: 0 / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1657, allocations: 7.984 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1657, allocations: 4.031 kB / 0.5877 GB, free: 0.6094 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 6.582e-05/0.1658, allocations: 113.8 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1658, allocations: 4 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.166, allocations: 64.78 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.166, allocations: 0 / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.166, allocations: 4 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.166, allocations: 8.266 kB / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1662, allocations: 161.5 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1662, allocations: 4 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.1663, allocations: 19.92 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1663, allocations: 0 / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1663, allocations: 0 / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1663, allocations: 0 / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1663, allocations: 0 / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1666, allocations: 163.5 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.1666, allocations: 81.02 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1667, allocations: 0 / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.1667, allocations: 11.94 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1668, allocations: 4 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1668, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.1668, allocations: 87.2 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1668, allocations: 0 / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002174/0.1671, allocations: 8.031 kB / 0.5884 GB, free: 15.79 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.0005205/0.1676, allocations: 0.6967 MB / 0.5891 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1678, allocations: 47.98 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1678, allocations: 0 / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.1679, allocations: 11.98 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1682, allocations: 14.88 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.1686, allocations: 157 kB / 0.5893 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1688, allocations: 0.677 MB / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.1689, allocations: 0 / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.1689, allocations: 11.44 kB / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1689, allocations: 0 / 0.59 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.1855, allocations: 1.219 MB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1857, allocations: 186.4 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.83, allocations: 1.75 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)