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.0009825/0.0009825, 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.0007798/0.0007798, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9866/0.9866, allocations: 230.6 MB / 256 MB, free: 9.812 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.8409/0.8409, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.001086/0.001086, allocations: 64.58 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5603, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002585/0.5629, allocations: 1.494 MB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.5639, allocations: 0.638 MB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.564, allocations: 0 / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.5641, allocations: 4.922 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.5641, allocations: 5.094 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.5644, allocations: 57.33 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.5645, allocations: 27.66 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.5646, allocations: 19.86 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5647, allocations: 23.89 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.5648, allocations: 13.44 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.5648, allocations: 2.75 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.5649, allocations: 64.28 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.5649, allocations: 4.5 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.565, allocations: 12.16 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.5651, allocations: 64.77 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5651, allocations: 4 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5651, allocations: 0 / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5651, allocations: 0 / 0.8202 GB, free: 15.63 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.0004134/0.5655, allocations: 287.7 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5656, allocations: 8.625 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.5656, allocations: 36.95 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.5733, allocations: 2.438 MB / 0.8229 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.5737, allocations: 151 kB / 0.8231 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.5737, allocations: 0.8906 kB / 0.8231 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.5737, allocations: 4 kB / 0.8231 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.5765, allocations: 1.015 MB / 0.8241 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5765, allocations: 0 / 0.8241 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.5765, allocations: 0 / 0.8241 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5765, allocations: 0.7031 kB / 0.8241 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005244/0.5818, allocations: 1.859 MB / 0.8259 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.5856, allocations: 1.488 MB / 0.8273 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00531/0.5909, allocations: 1.873 MB / 0.8292 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.5936, allocations: 0.9375 MB / 0.8301 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.5936, allocations: 1.062 kB / 0.8301 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5936, allocations: 32.33 kB / 0.8301 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.326e-06/0.5936, allocations: 0 / 0.8301 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.007546/0.6012, allocations: 2.746 MB / 0.8328 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.6012, allocations: 56.88 kB / 0.8329 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.6013, allocations: 112.9 kB / 0.833 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6013, allocations: 25.7 kB / 0.833 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.6014, allocations: 85.3 kB / 0.8331 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.6014, allocations: 13.19 kB / 0.8331 GB, free: 12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.6015, allocations: 27.44 kB / 0.8331 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.6016, allocations: 316.3 kB / 0.8334 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.604, allocations: 0.9317 MB / 0.8343 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.6064, allocations: 0.9298 MB / 0.8352 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.6108, allocations: 1.69 MB / 0.8369 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6108, allocations: 0 / 0.8369 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004929/0.6158, allocations: 1.809 MB / 0.8386 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.6158, allocations: 12.09 kB / 0.8387 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6158, allocations: 3.938 kB / 0.8387 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.6158, allocations: 0 / 0.8387 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6172, allocations: 466.1 kB / 0.8391 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.6172, allocations: 1 kB / 0.8391 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.6184, allocations: 452.3 kB / 0.8395 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6185, allocations: 6.797 kB / 0.8395 GB, free: 9.02 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.0001257/0.6186, allocations: 119 kB / 0.8397 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.6186, allocations: 6.844 kB / 0.8397 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.6187, allocations: 6 kB / 0.8397 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6187, allocations: 4 kB / 0.8397 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6187, allocations: 1.406 kB / 0.8397 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6187, allocations: 7.969 kB / 0.8397 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.619, allocations: 332.9 kB / 0.84 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.619, allocations: 0 / 0.84 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6203, allocations: 474 kB / 0.8405 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6203, allocations: 0 / 0.8405 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6203, allocations: 10.64 kB / 0.8405 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6203, allocations: 0 / 0.8405 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6203, allocations: 0 / 0.8405 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.625, allocations: 1.912 MB / 0.8423 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.625, allocations: 6.453 kB / 0.8423 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.6251, allocations: 0 / 0.8423 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.6263, allocations: 449.8 kB / 0.8428 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.6264, allocations: 3.984 kB / 0.8428 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.6264, allocations: 6.734 kB / 0.8428 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.6265, allocations: 90.16 kB / 0.8429 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6265, allocations: 1.156 kB / 0.8429 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002289/0.6267, allocations: 35.34 kB / 0.8429 GB, free: 7.191 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.005185/0.6319, allocations: 2.447 MB / 0.8453 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005071/0.6369, allocations: 1.869 MB / 0.8471 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6369, allocations: 0 / 0.8471 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.6395, allocations: 0.9476 MB / 0.848 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.6397, allocations: 8 kB / 0.848 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.6555, allocations: 6.797 MB / 0.8547 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6557, allocations: 0.6807 MB / 0.8553 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001829/0.6559, allocations: 36.03 kB / 0.8554 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.6561, allocations: 27.39 kB / 0.8554 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.824e-06/0.6561, allocations: 0 / 0.8554 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.6755, allocations: 3.516 MB / 0.8588 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/7.281, allocations: 7.594 kB / 0.8588 GB, free: 11.77 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.447950322879478] Failed to read output from testmodel.py, exit status != 0: 7.3611702849157155 7.374718022 6.807294582 Calling exit ...