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.0008184/0.0008184, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007814/0.0007814, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9884/0.9884, allocations: 230.6 MB / 256 MB, free: 9.605 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.8103/0.8103, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001043/0.001043, allocations: 66.95 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6278, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002034/0.6299, allocations: 1.479 MB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.6307, allocations: 0.5856 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.6308, allocations: 0 / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.6308, allocations: 4.594 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.6309, allocations: 4.5 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.6312, allocations: 63.83 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.6313, allocations: 33.5 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.6314, allocations: 6.672 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6315, allocations: 23.92 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.6316, allocations: 11.92 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.6316, allocations: 1.312 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.6319, allocations: 55.39 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.6319, allocations: 4.703 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.6319, allocations: 14.28 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.6321, allocations: 66.09 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/0.6321, allocations: 3.938 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.827e-06/0.6321, allocations: 4.609 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6321, allocations: 0 / 0.8201 GB, free: 15.49 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.0003823/0.6325, allocations: 282.1 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6325, allocations: 7.75 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.6326, allocations: 36.34 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007896/0.6405, allocations: 2.437 MB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.6409, allocations: 142.9 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.6409, allocations: 5.625 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.6409, allocations: 1.5 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.6439, allocations: 1.017 MB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6439, allocations: 3.938 kB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.6439, allocations: 0.9688 kB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6439, allocations: 0 / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/0.6497, allocations: 1.867 MB / 0.8258 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.6537, allocations: 1.423 MB / 0.8271 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/0.6592, allocations: 1.869 MB / 0.829 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.662, allocations: 0.9389 MB / 0.8299 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.6621, allocations: 1.188 kB / 0.8299 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6621, allocations: 36.08 kB / 0.8299 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.6621, allocations: 0 / 0.8299 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.008053/0.6702, allocations: 2.743 MB / 0.8326 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.6702, allocations: 55.41 kB / 0.8327 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6703, allocations: 110.1 kB / 0.8328 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6703, allocations: 25.7 kB / 0.8328 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.6704, allocations: 85.36 kB / 0.8329 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.6704, allocations: 17.22 kB / 0.8329 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.6705, allocations: 22.88 kB / 0.8329 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6706, allocations: 324.8 kB / 0.8332 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.6732, allocations: 0.9282 MB / 0.8341 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.6756, allocations: 0.9369 MB / 0.835 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/0.6802, allocations: 1.68 MB / 0.8367 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6802, allocations: 0 / 0.8367 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004995/0.6852, allocations: 1.812 MB / 0.8384 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6852, allocations: 5.406 kB / 0.8384 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6852, allocations: 4 kB / 0.8385 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6852, allocations: 1.062 kB / 0.8385 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.6866, allocations: 469.4 kB / 0.8389 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.6867, allocations: 1.312 kB / 0.8389 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.6881, allocations: 451.7 kB / 0.8393 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.6881, allocations: 10.7 kB / 0.8393 GB, free: 8.875 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 0.0001674/0.6883, allocations: 112.6 kB / 0.8395 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.6883, allocations: 4.969 kB / 0.8395 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.6884, allocations: 14.78 kB / 0.8395 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6884, allocations: 1.25 kB / 0.8395 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6884, allocations: 0 / 0.8395 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6884, allocations: 1.156 kB / 0.8395 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.6892, allocations: 272.3 kB / 0.8397 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6892, allocations: 0 / 0.8397 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.6907, allocations: 466 kB / 0.8402 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6907, allocations: 0 / 0.8402 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.6907, allocations: 10.19 kB / 0.8402 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.6907, allocations: 5.062 kB / 0.8402 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6907, allocations: 0 / 0.8402 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.6959, allocations: 1.91 MB / 0.8421 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.6959, allocations: 1.062 kB / 0.8421 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.696, allocations: 1.531 kB / 0.8421 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.6973, allocations: 451.4 kB / 0.8425 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.6974, allocations: 5.234 kB / 0.8425 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.6974, allocations: 6.578 kB / 0.8425 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.6974, allocations: 94.11 kB / 0.8426 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6974, allocations: 1.5 kB / 0.8426 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002311/0.6977, allocations: 34.34 kB / 0.8426 GB, free: 7.121 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.005351/0.703, allocations: 2.448 MB / 0.845 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005203/0.7082, allocations: 1.877 MB / 0.8468 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.7082, allocations: 0 / 0.8468 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.7108, allocations: 0.9357 MB / 0.8478 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.7111, allocations: 6.531 kB / 0.8478 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.7279, allocations: 6.801 MB / 0.8544 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.728, allocations: 63.34 kB / 0.8545 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.7281, allocations: 32.03 kB / 0.8545 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7283, allocations: 23.41 kB / 0.8545 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of SimCode: time 2.294e-06/0.7283, allocations: 0 / 0.8545 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.7478, allocations: 4.193 MB / 0.8586 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.485/7.233, allocations: 10.88 kB / 0.8586 GB, free: 11.55 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.348000339232385] Failed to read output from testmodel.py, exit status != 0: 7.312109157908708 7.317801991 6.684055435 Calling exit ...