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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 219.6 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8058/0.8058, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009018/0.0009018, allocations: 64.09 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5353, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001895/0.5371, allocations: 1.499 MB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.5379, allocations: 0.6333 MB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.538, allocations: 1.375 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.538, allocations: 4.453 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.538, allocations: 13.81 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.5383, allocations: 60.66 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.5384, allocations: 26.83 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.5385, allocations: 9.938 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.5386, allocations: 23.48 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.5386, allocations: 13.02 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.5387, allocations: 1.625 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.5388, allocations: 60.8 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.5388, allocations: 12.55 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.5388, allocations: 13.98 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.5389, allocations: 61.58 kB / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5389, allocations: 2.594 kB / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5389, allocations: 0 / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.539, allocations: 0 / 0.8202 GB, free: 15.65 MB / 0.6198 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.0003548/0.5393, allocations: 282.3 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5393, allocations: 14.28 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.5394, allocations: 31.45 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007288/0.5467, allocations: 2.45 MB / 0.8229 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.5469, allocations: 142.3 kB / 0.8231 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5469, allocations: 1.438 kB / 0.8231 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.547, allocations: 2.359 kB / 0.8231 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.5496, allocations: 1.016 MB / 0.8241 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5496, allocations: 4 kB / 0.8241 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.5496, allocations: 0.7812 kB / 0.8241 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5496, allocations: 0.6094 kB / 0.8241 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004997/0.5546, allocations: 1.863 MB / 0.8259 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.5588, allocations: 1.487 MB / 0.8274 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00518/0.564, allocations: 1.865 MB / 0.8292 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.5668, allocations: 0.9382 MB / 0.8301 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.5668, allocations: 5.891 kB / 0.8301 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5669, allocations: 34.5 kB / 0.8301 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.943e-06/0.5669, allocations: 1.25 kB / 0.8301 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.007192/0.5741, allocations: 2.74 MB / 0.8328 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5741, allocations: 52.16 kB / 0.8329 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.5742, allocations: 116.9 kB / 0.833 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5742, allocations: 27.3 kB / 0.833 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.5742, allocations: 89.77 kB / 0.8331 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.5743, allocations: 7.891 kB / 0.8331 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.5743, allocations: 22.88 kB / 0.8331 GB, free: 12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.5744, allocations: 324.2 kB / 0.8334 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.5767, allocations: 0.9324 MB / 0.8343 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.5789, allocations: 0.9296 MB / 0.8352 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004127/0.5831, allocations: 1.683 MB / 0.8369 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5831, allocations: 0 / 0.8369 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004669/0.5877, allocations: 1.813 MB / 0.8386 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5877, allocations: 5.188 kB / 0.8387 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5878, allocations: 0 / 0.8387 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5878, allocations: 5.109 kB / 0.8387 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.589, allocations: 469.5 kB / 0.8391 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.589, allocations: 0 / 0.8391 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5902, allocations: 449.3 kB / 0.8395 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.5902, allocations: 10.52 kB / 0.8395 GB, free: 9.043 MB / 0.6198 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.295e-05/0.5903, allocations: 115 kB / 0.8397 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.5904, allocations: 6.297 kB / 0.8397 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.5904, allocations: 14.67 kB / 0.8397 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5904, allocations: 0 / 0.8397 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5904, allocations: 1.094 kB / 0.8397 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5904, allocations: 0 / 0.8397 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.5907, allocations: 336.2 kB / 0.84 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5907, allocations: 4 kB / 0.84 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.592, allocations: 474.3 kB / 0.8405 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.592, allocations: 0 / 0.8405 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.592, allocations: 11.42 kB / 0.8405 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.592, allocations: 0 / 0.8405 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.592, allocations: 0 / 0.8405 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.5965, allocations: 1.913 MB / 0.8423 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.5965, allocations: 5.344 kB / 0.8423 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.5965, allocations: 1.062 kB / 0.8423 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5977, allocations: 452.7 kB / 0.8428 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.5977, allocations: 1.5 kB / 0.8428 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.5977, allocations: 5.234 kB / 0.8428 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.5978, allocations: 94.11 kB / 0.8429 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5978, allocations: 1.438 kB / 0.8429 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002062/0.598, allocations: 34.56 kB / 0.8429 GB, free: 7.211 MB / 0.6198 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.004668/0.6027, allocations: 2.442 MB / 0.8453 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004745/0.6074, allocations: 1.873 MB / 0.8471 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6074, allocations: 0.9375 kB / 0.8471 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.6098, allocations: 0.9431 MB / 0.848 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.61, allocations: 3.75 kB / 0.848 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.6253, allocations: 6.801 MB / 0.8547 GB, free: 8 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.6255, allocations: 0.6768 MB / 0.8553 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.6257, allocations: 40.02 kB / 0.8554 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.6258, allocations: 23.41 kB / 0.8554 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.6258, allocations: 0 / 0.8554 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.6407, allocations: 3.516 MB / 0.8588 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.425/7.066, allocations: 6.469 kB / 0.8588 GB, free: 11.8 MB / 0.6355 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.122045618016273] Failed to read output from testmodel.py, exit status != 0: 7.1445618430152535 7.155574177 6.61472159 Calling exit ...