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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 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.001157/0.001157, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.83 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002097/0.1273, allocations: 1.454 MB / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.1281, allocations: 0.5595 MB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.1281, allocations: 0 / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.1281, allocations: 0 / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.1282, allocations: 7.922 kB / 0.5864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1284, allocations: 55.83 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.1285, allocations: 23.92 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.1286, allocations: 8 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.1286, allocations: 19.86 kB / 0.5865 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.1287, allocations: 7.938 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1287, allocations: 4 kB / 0.5866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.1288, allocations: 51.94 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.1288, allocations: 8 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.1288, allocations: 19.86 kB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.129, allocations: 63.86 kB / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.129, allocations: 0 / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.129, allocations: 0 / 0.5867 GB, free: 2.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.129, allocations: 0 / 0.5867 GB, free: 2.148 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.0003378/0.1293, allocations: 351.6 kB / 0.587 GB, free: 1.758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1294, allocations: 12.02 kB / 0.587 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.1294, allocations: 30.75 kB / 0.5871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.1294, allocations: 8.938 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.1295, allocations: 168.2 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1295, allocations: 4.375 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.1295, allocations: 4.375 kB / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1296, allocations: 49.75 kB / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1297, allocations: 0 / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1297, allocations: 0 / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1297, allocations: 3.984 kB / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.797e-05/0.1298, allocations: 23.97 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.13, allocations: 256.9 kB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.1301, allocations: 38.5 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.1301, allocations: 12.92 kB / 0.5876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.1309, allocations: 477.4 kB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1309, allocations: 30.56 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1309, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.1311, allocations: 65.67 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1311, allocations: 51.41 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.107e-05/0.1312, allocations: 105.8 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1312, allocations: 37.77 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1313, allocations: 84.14 kB / 0.5884 GB, free: 72 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.1313, allocations: 11.83 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.1313, allocations: 13.72 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.1314, allocations: 322.7 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.1315, allocations: 11.98 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.1315, allocations: 8 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/0.1316, allocations: 28.91 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1316, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1317, allocations: 53.59 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1317, allocations: 11.98 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1317, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1317, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.1318, allocations: 7.938 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1318, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.1318, allocations: 8.031 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1319, allocations: 0 / 0.5889 GB, free: 15.58 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 5.7e-05/0.1319, allocations: 117.8 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1319, allocations: 4 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.1321, allocations: 61.2 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1321, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1321, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1321, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1323, allocations: 165.6 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1323, allocations: 0 / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1323, allocations: 7.984 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1323, allocations: 0 / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1323, allocations: 7.938 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1323, allocations: 0 / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1323, allocations: 4 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1325, allocations: 159.4 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.1325, allocations: 77.11 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1325, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.1326, allocations: 4 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.1326, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1326, allocations: 3.984 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.1327, allocations: 87.28 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.353e-06/0.1327, allocations: 0 / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002098/0.1329, allocations: 19.94 kB / 0.5896 GB, free: 14.77 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.0004036/0.1333, allocations: 0.7084 MB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1334, allocations: 19.98 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1334, allocations: 0 / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.1335, allocations: 20.08 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1337, allocations: 7.938 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.134, allocations: 172.1 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1342, allocations: 0.6768 MB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.1342, allocations: 64 / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1343, allocations: 19.42 kB / 0.5912 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1343, allocations: 0 / 0.5912 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5832/0.7175, allocations: 1.576 MB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.358, allocations: 14.11 kB / 0.5927 GB, free: 11.55 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)