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.001082/0.001082, 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.001127/0.001127, allocations: 199.3 kB / 16.14 MB, free: 6.695 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.89/0.89, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.03 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002716/0.148, allocations: 1.512 MB / 0.5853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.1489, allocations: 0.5658 MB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.149, allocations: 0 / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.149, allocations: 7.984 kB / 0.5858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.1491, allocations: 3.938 kB / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1493, allocations: 39.91 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.1494, allocations: 27.86 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.1494, allocations: 8 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.1495, allocations: 11.98 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.1496, allocations: 15.92 kB / 0.5859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1496, allocations: 3.984 kB / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1497, allocations: 43.97 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1497, allocations: 11.92 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1498, allocations: 7.938 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.15, allocations: 63.86 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.15, allocations: 4 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.15, allocations: 0 / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.15, allocations: 0 / 0.5861 GB, free: 2.57 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.0004051/0.1504, allocations: 355.6 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1504, allocations: 8.031 kB / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1505, allocations: 30.75 kB / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1505, allocations: 4.938 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1506, allocations: 172.2 kB / 0.5866 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.1506, allocations: 384 / 0.5866 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.1507, allocations: 12.38 kB / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1508, allocations: 49.8 kB / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.1508, allocations: 0 / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1508, allocations: 0 / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1508, allocations: 3.938 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.1509, allocations: 19.98 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.1513, allocations: 256.9 kB / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.1513, allocations: 38.52 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.1514, allocations: 12.91 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.1523, allocations: 477.4 kB / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1523, allocations: 34.56 kB / 0.5875 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1523, allocations: 0 / 0.5875 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000223/0.1526, allocations: 69.56 kB / 0.5875 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1526, allocations: 51.41 kB / 0.5876 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.1527, allocations: 109.8 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1527, allocations: 29.7 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.1528, allocations: 92.25 kB / 0.5878 GB, free: 492 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1528, allocations: 3.906 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1528, allocations: 13.72 kB / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.153, allocations: 318.8 kB / 0.5881 GB, free: 140 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.153, allocations: 11.98 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.1531, allocations: 8 kB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.1531, allocations: 24.91 kB / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1531, allocations: 4 kB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.1533, allocations: 61.52 kB / 0.5882 GB, free: 20 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1533, allocations: 8 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1533, allocations: 320 / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1533, allocations: 0 / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1534, allocations: 4 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1534, allocations: 0 / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.1535, allocations: 7.984 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1535, allocations: 96 / 0.5883 GB, free: 16 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.022e-05/0.1536, allocations: 117.8 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1536, allocations: 4 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.1538, allocations: 61.19 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1538, allocations: 3.938 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1538, allocations: 0 / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1538, allocations: 0 / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.154, allocations: 169.6 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.154, allocations: 4.031 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.154, allocations: 7.938 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.154, allocations: 0 / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.154, allocations: 0 / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.154, allocations: 3.984 kB / 0.5886 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1541, allocations: 8 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1542, allocations: 155.4 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1543, allocations: 81.14 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1543, allocations: 0 / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.1544, allocations: 4 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1544, allocations: 3.984 kB / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1544, allocations: 0 / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.1545, allocations: 87.28 kB / 0.5889 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 3.938 kB / 0.5889 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002344/0.1547, allocations: 19.98 kB / 0.589 GB, free: 15.17 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.000483/0.1552, allocations: 0.7044 MB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1553, allocations: 19.98 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1553, allocations: 0 / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.1554, allocations: 19.92 kB / 0.5897 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1556, allocations: 11.31 kB / 0.5897 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.156, allocations: 169.9 kB / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1563, allocations: 0.677 MB / 0.5905 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.1564, allocations: 4 kB / 0.5905 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.1564, allocations: 11.44 kB / 0.5905 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1564, allocations: 4 kB / 0.5905 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.1771, allocations: 1.442 MB / 0.592 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/0.1774, allocations: 184.3 kB / 0.5921 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.412, allocations: 0 / 0.5921 GB, free: 11.88 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)