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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.865/0.865, allocations: 134 MB / 436.6 MB, free: 1.273 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.53 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1697, allocations: 84.66 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002774/0.1725, allocations: 1.465 MB / 0.6892 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1735, allocations: 0.5657 MB / 0.6898 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.1735, allocations: 0 / 0.6898 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.1736, allocations: 7.922 kB / 0.6898 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.1736, allocations: 11.92 kB / 0.6898 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1739, allocations: 51.77 kB / 0.6899 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.174, allocations: 31.86 kB / 0.6899 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.1741, allocations: 0 / 0.6899 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.1742, allocations: 19.92 kB / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1742, allocations: 15.92 kB / 0.6899 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1742, allocations: 0 / 0.6899 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1744, allocations: 55.95 kB / 0.69 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1744, allocations: 7.922 kB / 0.69 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1744, allocations: 11.94 kB / 0.69 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1746, allocations: 68.02 kB / 0.6901 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1746, allocations: 4 kB / 0.6901 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1746, allocations: 0 / 0.6901 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1746, allocations: 0 / 0.6901 GB, free: 8.77 MB / 0.5137 GB 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.0004998/0.1751, allocations: 347.3 kB / 0.6904 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1751, allocations: 12.03 kB / 0.6904 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1751, allocations: 34.75 kB / 0.6904 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.1752, allocations: 8.828 kB / 0.6904 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1753, allocations: 168.3 kB / 0.6906 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1753, allocations: 4.375 kB / 0.6906 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1753, allocations: 4.375 kB / 0.6906 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1755, allocations: 49.8 kB / 0.6907 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1755, allocations: 3.938 kB / 0.6907 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1755, allocations: 0 / 0.6907 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1755, allocations: 4 kB / 0.6907 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1756, allocations: 15.98 kB / 0.6907 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.1759, allocations: 260.9 kB / 0.6909 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.176, allocations: 22.58 kB / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.1761, allocations: 20.91 kB / 0.691 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008514/0.1769, allocations: 481.4 kB / 0.6914 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.177, allocations: 38.5 kB / 0.6915 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.177, allocations: 0 / 0.6915 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002412/0.1772, allocations: 53.69 kB / 0.6915 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1772, allocations: 55.39 kB / 0.6916 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1774, allocations: 109.9 kB / 0.6917 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1774, allocations: 25.7 kB / 0.6917 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1774, allocations: 88.25 kB / 0.6918 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1775, allocations: 11.95 kB / 0.6918 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.1775, allocations: 9.719 kB / 0.6918 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1776, allocations: 322.8 kB / 0.6921 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.1777, allocations: 8 kB / 0.6921 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.1777, allocations: 11.92 kB / 0.6921 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/0.1778, allocations: 28.92 kB / 0.6922 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1778, allocations: 3.938 kB / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.1779, allocations: 61.62 kB / 0.6922 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1779, allocations: 4 kB / 0.6922 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1779, allocations: 0 / 0.6922 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1779, allocations: 0 / 0.6922 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.178, allocations: 4 kB / 0.6922 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.178, allocations: 4 kB / 0.6922 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.178, allocations: 3.984 kB / 0.6922 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.178, allocations: 4.031 kB / 0.6922 GB, free: 6.207 MB / 0.5137 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 9.127e-05/0.1781, allocations: 121.7 kB / 0.6924 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1782, allocations: 3.938 kB / 0.6924 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.1783, allocations: 65.19 kB / 0.6924 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1783, allocations: 0 / 0.6924 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1783, allocations: 4 kB / 0.6924 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1783, allocations: 0 / 0.6924 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1785, allocations: 165.6 kB / 0.6926 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1785, allocations: 0 / 0.6926 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.1786, allocations: 4 kB / 0.6926 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1786, allocations: 4 kB / 0.6926 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1786, allocations: 0 / 0.6926 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1786, allocations: 0 / 0.6926 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1786, allocations: 4 kB / 0.6926 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1788, allocations: 163.4 kB / 0.6928 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.1788, allocations: 81.11 kB / 0.6928 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1788, allocations: 0 / 0.6928 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.1789, allocations: 3.984 kB / 0.6928 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1789, allocations: 4 kB / 0.6928 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1789, allocations: 4 kB / 0.6928 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.179, allocations: 83.58 kB / 0.6929 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.179, allocations: 0 / 0.6929 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002316/0.1792, allocations: 23.92 kB / 0.6929 GB, free: 5.379 MB / 0.5137 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.0005829/0.1798, allocations: 0.7007 MB / 0.6936 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1799, allocations: 19.98 kB / 0.6936 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1799, allocations: 0 / 0.6936 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.18, allocations: 16.08 kB / 0.6937 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1802, allocations: 4 kB / 0.6937 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1807, allocations: 180 kB / 0.6938 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1811, allocations: 0.6768 MB / 0.6945 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.1811, allocations: 7.938 kB / 0.6945 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1811, allocations: 11.44 kB / 0.6945 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1811, allocations: 0 / 0.6945 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2048, allocations: 1.601 MB / 0.6961 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.101, allocations: 10.47 kB / 0.6961 GB, free: 2.156 MB / 0.5137 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.607234717346728] Failed to read output from testmodel.py, exit status != 0: 8.166746821254492 8.182681763 8.005104028 Calling exit ...