Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",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.0007766/0.0007766, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.005759/0.00576, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9812/0.9812, allocations: 135.3 MB / 426.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001555/0.1547, allocations: 1.165 MB / 0.5892 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.1556, allocations: 0.5542 MB / 0.5898 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.1556, allocations: 0 / 0.5898 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1557, allocations: 7.938 kB / 0.5898 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.1557, allocations: 7.922 kB / 0.5898 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1559, allocations: 39.91 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.156, allocations: 23.92 kB / 0.5898 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.1561, allocations: 4 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.1562, allocations: 23.84 kB / 0.5899 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.1562, allocations: 7.938 kB / 0.5899 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1562, allocations: 0 / 0.5899 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1563, allocations: 55.95 kB / 0.5899 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1564, allocations: 4 kB / 0.5899 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1564, allocations: 37.56 kB / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1565, allocations: 67.84 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1565, allocations: 0 / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1566, allocations: 0 / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1566, allocations: 0 / 0.59 GB, free: 0.5039 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.0003503/0.1569, allocations: 343.7 kB / 0.5904 GB, free: 124 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.157, allocations: 12.03 kB / 0.5904 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.157, allocations: 38.75 kB / 0.5904 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.157, allocations: 4.844 kB / 0.5904 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1571, allocations: 172.3 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1572, allocations: 384 / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1572, allocations: 4.375 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1573, allocations: 49.8 kB / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.1573, allocations: 3.938 kB / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1573, allocations: 0 / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1573, allocations: 0 / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.1574, allocations: 27.98 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.1577, allocations: 256.8 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.1578, allocations: 30.56 kB / 0.5909 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.1579, allocations: 24.91 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/0.1586, allocations: 497.4 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1587, allocations: 42.48 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1587, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.1589, allocations: 65.69 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1589, allocations: 51.41 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.159, allocations: 113.8 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.159, allocations: 25.7 kB / 0.5917 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.1591, allocations: 84.12 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1591, allocations: 7.906 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1591, allocations: 17.66 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.1592, allocations: 322.9 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.1593, allocations: 15.98 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.1593, allocations: 11.94 kB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.1594, allocations: 32.78 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1594, allocations: 4.062 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.1595, allocations: 57.69 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1596, allocations: 7.984 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1596, allocations: 0 / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1596, allocations: 4 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.1597, allocations: 4 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1597, allocations: 0 / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.1597, allocations: 11.94 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1597, allocations: 0 / 0.5923 GB, free: 13.88 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 6.488e-05/0.1598, allocations: 117.7 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1598, allocations: 4 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.16, allocations: 65.2 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.16, allocations: 0 / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.16, allocations: 0 / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.16, allocations: 4.031 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1602, allocations: 161.6 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1602, allocations: 0 / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1602, allocations: 7.984 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1602, allocations: 0 / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1602, allocations: 4 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1602, allocations: 0 / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1602, allocations: 0 / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.1604, allocations: 163.4 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.1604, allocations: 81.02 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1605, allocations: 4 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.1605, allocations: 0 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.1605, allocations: 7.984 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1606, allocations: 0 / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.1606, allocations: 87.31 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1606, allocations: 0 / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002224/0.1608, allocations: 16 kB / 0.593 GB, free: 13.07 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.0004352/0.1613, allocations: 0.7123 MB / 0.5937 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1614, allocations: 23.98 kB / 0.5937 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1614, allocations: 4 kB / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.1615, allocations: 15.98 kB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1617, allocations: 0 / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.162, allocations: 182.2 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1623, allocations: 0.6809 MB / 0.5945 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.1623, allocations: 15.91 kB / 0.5945 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1623, allocations: 15.44 kB / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1623, allocations: 0 / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.2648, allocations: 1.383 MB / 0.5959 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.2652, allocations: 187 kB / 0.5961 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.864, allocations: 0 / 0.5961 GB, free: 9.82 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)