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.0008138/0.0008138, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008652/0.0008652, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7259/0.7259, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.438e-05, allocations: 10.22 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002224/0.002248, allocations: 1.474 MB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.003137, allocations: 0.5804 MB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.003199, allocations: 0 / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.003227, allocations: 7.938 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.003273, allocations: 7.938 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.003582, allocations: 59.75 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.003676, allocations: 31.86 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.003765, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003874, allocations: 23.91 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.003916, allocations: 15.92 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.003929, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.004023, allocations: 51.94 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.004033, allocations: 8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.00405, allocations: 4 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.00418, allocations: 79.72 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004182, allocations: 4 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.123e-06/0.004183, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.004187, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 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.0003219/0.004509, allocations: 270.2 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.00455, allocations: 13.47 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.004576, allocations: 30.75 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006855/0.01143, allocations: 2.439 MB / 0.623 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.0117, allocations: 161.6 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.01171, allocations: 384 / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.01174, allocations: 4.375 kB / 0.6232 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.01421, allocations: 1.013 MB / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.01422, allocations: 192 / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.01424, allocations: 12.11 kB / 0.6242 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01424, allocations: 0 / 0.6242 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.01888, allocations: 1.861 MB / 0.626 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.02198, allocations: 1.407 MB / 0.6274 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.02666, allocations: 1.875 MB / 0.6292 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.02899, allocations: 0.9373 MB / 0.6301 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.02901, allocations: 4 kB / 0.6301 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.02904, allocations: 30.56 kB / 0.6302 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.02904, allocations: 3.938 kB / 0.6302 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.007044/0.03609, allocations: 2.741 MB / 0.6329 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.03613, allocations: 55.41 kB / 0.6329 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.03623, allocations: 113.8 kB / 0.633 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.03626, allocations: 25.7 kB / 0.633 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.03631, allocations: 92.08 kB / 0.6331 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.03634, allocations: 7.953 kB / 0.6331 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.03642, allocations: 25.69 kB / 0.6332 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.0365, allocations: 310.8 kB / 0.6335 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.03881, allocations: 0.9365 MB / 0.6344 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.04112, allocations: 0.9287 MB / 0.6353 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/0.04546, allocations: 1.683 MB / 0.6369 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.04546, allocations: 0 / 0.6369 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004703/0.05016, allocations: 1.812 MB / 0.6387 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.05019, allocations: 4 kB / 0.6387 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.0502, allocations: 0 / 0.6387 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.05022, allocations: 4.031 kB / 0.6387 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.05164, allocations: 471.4 kB / 0.6391 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.05164, allocations: 0 / 0.6391 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.05289, allocations: 451.5 kB / 0.6396 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.05291, allocations: 7.984 kB / 0.6396 GB, free: 7.434 MB / 0.6042 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 0.0001155/0.05302, allocations: 106.8 kB / 0.6397 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.05307, allocations: 11.89 kB / 0.6397 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.05312, allocations: 15.61 kB / 0.6397 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.05312, allocations: 4 kB / 0.6397 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.05313, allocations: 0 / 0.6397 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.05313, allocations: 0 / 0.6397 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.05339, allocations: 273.6 kB / 0.64 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0534, allocations: 7.938 kB / 0.64 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.05466, allocations: 463.4 kB / 0.6404 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.05466, allocations: 0 / 0.6404 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.05469, allocations: 7.984 kB / 0.6404 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.05469, allocations: 384 / 0.6404 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.05469, allocations: 0 / 0.6404 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/0.05948, allocations: 1.908 MB / 0.6423 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.0595, allocations: 7.891 kB / 0.6423 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.05953, allocations: 3.938 kB / 0.6423 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.06082, allocations: 459.5 kB / 0.6427 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.06087, allocations: 0 / 0.6427 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.06089, allocations: 7.969 kB / 0.6428 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.06094, allocations: 87.28 kB / 0.6428 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.06094, allocations: 0 / 0.6428 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002286/0.06117, allocations: 36 kB / 0.6429 GB, free: 3.988 MB / 0.6042 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.005213/0.06639, allocations: 2.437 MB / 0.6453 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004737/0.07112, allocations: 1.873 MB / 0.6471 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.07113, allocations: 0 / 0.6471 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.07349, allocations: 0.9405 MB / 0.648 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.0737, allocations: 0 / 0.648 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.09311, allocations: 6.795 MB / 0.6546 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.09317, allocations: 79.16 kB / 0.6547 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.09334, allocations: 40.02 kB / 0.6547 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.09349, allocations: 24.47 kB / 0.6548 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of SimCode: time 1.492e-06/0.0935, allocations: 0 / 0.6548 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.1114, allocations: 4.317 MB / 0.659 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.364, allocations: 7.375 kB / 0.659 GB, free: 3.473 MB / 0.6198 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: 9.995875577442348] Failed to read output from testmodel.py, exit status != 0: 7.444656101986766 7.455339297 7.449462669 Calling exit ...