Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_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.001065/0.001065, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7019/0.7019, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.72 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002414/0.1276, allocations: 1.512 MB / 0.5812 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.1283, allocations: 0.5541 MB / 0.5817 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1284, allocations: 4 kB / 0.5817 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.1284, allocations: 3.938 kB / 0.5817 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.844e-05/0.1284, allocations: 11.92 kB / 0.5817 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1287, allocations: 39.91 kB / 0.5818 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.1287, allocations: 27.91 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.1288, allocations: 4 kB / 0.5818 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.1289, allocations: 23.86 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.1289, allocations: 11.94 kB / 0.5818 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1289, allocations: 0 / 0.5818 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.129, allocations: 63.94 kB / 0.5819 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1291, allocations: 0 / 0.5819 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.1291, allocations: 19.86 kB / 0.5819 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1292, allocations: 59.86 kB / 0.582 GB, free: 6.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1292, allocations: 0 / 0.582 GB, free: 6.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1292, allocations: 4 kB / 0.582 GB, free: 6.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1292, allocations: 0 / 0.582 GB, free: 6.672 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.0003422/0.1296, allocations: 351.6 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1296, allocations: 12.03 kB / 0.5823 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.1296, allocations: 34.75 kB / 0.5823 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.1297, allocations: 0.9375 kB / 0.5823 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1298, allocations: 176.2 kB / 0.5825 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1298, allocations: 4.375 kB / 0.5825 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1298, allocations: 384 / 0.5825 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1299, allocations: 49.8 kB / 0.5826 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1299, allocations: 3.938 kB / 0.5826 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-06/0.13, allocations: 0 / 0.5826 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.13, allocations: 0 / 0.5826 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.13, allocations: 23.98 kB / 0.5826 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1303, allocations: 248.9 kB / 0.5828 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.1304, allocations: 30.56 kB / 0.5829 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.1304, allocations: 20.91 kB / 0.5829 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.1312, allocations: 477.4 kB / 0.5833 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1312, allocations: 34.5 kB / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1312, allocations: 0 / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002078/0.1314, allocations: 65.77 kB / 0.5834 GB, free: 4.902 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1314, allocations: 55.41 kB / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.1315, allocations: 105.8 kB / 0.5836 GB, free: 4.723 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1315, allocations: 25.7 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1316, allocations: 92.03 kB / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1316, allocations: 7.938 kB / 0.5837 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1316, allocations: 17.72 kB / 0.5837 GB, free: 4.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.1317, allocations: 318.8 kB / 0.584 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.1318, allocations: 16.02 kB / 0.584 GB, free: 4.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.1318, allocations: 11.94 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.1319, allocations: 28.78 kB / 0.5841 GB, free: 4.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1319, allocations: 0 / 0.5841 GB, free: 4.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.132, allocations: 57.58 kB / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.132, allocations: 4 kB / 0.5841 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.132, allocations: 96 / 0.5841 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1321, allocations: 4 kB / 0.5841 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.1321, allocations: 8 kB / 0.5841 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1321, allocations: 0 / 0.5841 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.1322, allocations: 4 kB / 0.5842 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1322, allocations: 3.984 kB / 0.5842 GB, free: 4.102 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.22e-05/0.1322, allocations: 118.4 kB / 0.5843 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1323, allocations: 0 / 0.5843 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1324, allocations: 65.2 kB / 0.5843 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1324, allocations: 4 kB / 0.5843 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1324, allocations: 0 / 0.5843 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1324, allocations: 0 / 0.5843 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1326, allocations: 161.6 kB / 0.5845 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1326, allocations: 3.984 kB / 0.5845 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1326, allocations: 8 kB / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1326, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1326, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1327, allocations: 0 / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1327, allocations: 4.031 kB / 0.5845 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1328, allocations: 159.3 kB / 0.5847 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1328, allocations: 81.11 kB / 0.5847 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1329, allocations: 0 / 0.5847 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.1329, allocations: 0 / 0.5847 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.133, allocations: 7.984 kB / 0.5847 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.133, allocations: 0 / 0.5847 GB, free: 3.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.133, allocations: 95.61 kB / 0.5848 GB, free: 3.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.133, allocations: 0 / 0.5848 GB, free: 3.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1332, allocations: 19.92 kB / 0.5849 GB, free: 3.289 MB / 494.1 MB 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.0004151/0.1336, allocations: 0.6967 MB / 0.5855 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1338, allocations: 28.02 kB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1338, allocations: 0 / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.1338, allocations: 15.98 kB / 0.5856 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.134, allocations: 2.531 kB / 0.5856 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1344, allocations: 176.2 kB / 0.5857 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1346, allocations: 0.6884 MB / 0.5864 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.1346, allocations: 0 / 0.5864 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1347, allocations: 15.42 kB / 0.5864 GB, free: 1.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1347, allocations: 4 kB / 0.5864 GB, free: 1.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2498/0.3845, allocations: 1.463 MB / 0.5879 GB, free: 228 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.3848, allocations: 173.8 kB / 0.588 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.05, allocations: 0 / 0.588 GB, free: 15.97 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)