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.0008348/0.0008348, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008566/0.0008566, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.899/0.899, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7562/0.7562, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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 2.104e-06/2.104e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.59e-05, allocations: 9.5 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002054/0.00208, allocations: 1.482 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.002814, allocations: 0.5804 MB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.002863, allocations: 4 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002889, allocations: 3.938 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.00293, allocations: 7.938 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.003198, allocations: 59.75 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.003286, allocations: 31.86 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.003372, allocations: 7.984 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.003488, allocations: 19.92 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.00353, allocations: 15.92 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003544, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.003642, allocations: 55.94 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.003652, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.00367, allocations: 7.938 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.003796, allocations: 75.77 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.003798, allocations: 4 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003799, allocations: 4 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003803, allocations: 0 / 0.6204 GB, free: 11.31 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.000323/0.004126, allocations: 270.2 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.004168, allocations: 13.47 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.004194, allocations: 30.75 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007059/0.01125, allocations: 2.436 MB / 0.623 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.0115, allocations: 157.6 kB / 0.6232 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.01151, allocations: 4.312 kB / 0.6232 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.01154, allocations: 384 / 0.6232 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.01401, allocations: 1.017 MB / 0.6242 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.01402, allocations: 8.172 kB / 0.6242 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.01404, allocations: 4.125 kB / 0.6242 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.01404, allocations: 0 / 0.6242 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.01868, allocations: 1.861 MB / 0.626 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.02173, allocations: 1.407 MB / 0.6274 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/0.02655, allocations: 1.875 MB / 0.6292 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.02918, allocations: 0.9373 MB / 0.6301 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.02922, allocations: 0 / 0.6301 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.02925, allocations: 34.56 kB / 0.6302 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.02925, allocations: 7.938 kB / 0.6302 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.007343/0.03659, allocations: 2.745 MB / 0.6329 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.03664, allocations: 51.41 kB / 0.6329 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.03673, allocations: 113.8 kB / 0.633 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.03676, allocations: 25.7 kB / 0.633 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.0368, allocations: 92.08 kB / 0.6331 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.03683, allocations: 3.953 kB / 0.6331 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.03691, allocations: 29.69 kB / 0.6332 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.03699, allocations: 310.8 kB / 0.6335 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.03944, allocations: 0.9326 MB / 0.6344 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.04185, allocations: 0.9287 MB / 0.6353 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.04625, allocations: 1.679 MB / 0.6369 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.04626, allocations: 0 / 0.6369 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004581/0.05084, allocations: 1.812 MB / 0.6387 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.05087, allocations: 10.19 kB / 0.6387 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.05088, allocations: 4.031 kB / 0.6387 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.05091, allocations: 0 / 0.6387 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.05223, allocations: 471.4 kB / 0.6391 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.05224, allocations: 0 / 0.6391 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.05348, allocations: 451.5 kB / 0.6396 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.0535, allocations: 7.984 kB / 0.6396 GB, free: 7.414 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.0001343/0.05364, allocations: 110.8 kB / 0.6397 GB, free: 7.297 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.05368, allocations: 11.89 kB / 0.6397 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.05374, allocations: 15.61 kB / 0.6397 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.05374, allocations: 4 kB / 0.6397 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.05375, allocations: 3.984 kB / 0.6397 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.05375, allocations: 0 / 0.6397 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.05406, allocations: 277.7 kB / 0.64 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.05407, allocations: 3.938 kB / 0.64 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.05537, allocations: 459.5 kB / 0.6404 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.05538, allocations: 0 / 0.6404 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.0554, allocations: 7.984 kB / 0.6404 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.05541, allocations: 384 / 0.6404 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.05541, allocations: 0 / 0.6404 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.05996, allocations: 1.904 MB / 0.6423 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.05998, allocations: 11.89 kB / 0.6423 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.06001, allocations: 3.938 kB / 0.6423 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.06125, allocations: 455.5 kB / 0.6427 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.06129, allocations: 4 kB / 0.6428 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.06131, allocations: 7.969 kB / 0.6428 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.06136, allocations: 87.28 kB / 0.6428 GB, free: 4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.06136, allocations: 0 / 0.6428 GB, free: 4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002217/0.06159, allocations: 40 kB / 0.6429 GB, free: 3.961 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.005029/0.06661, allocations: 2.433 MB / 0.6453 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00508/0.07169, allocations: 1.873 MB / 0.6471 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.0717, allocations: 0 / 0.6471 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.07409, allocations: 0.9444 MB / 0.648 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.07435, allocations: 0 / 0.648 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.08966, allocations: 6.794 MB / 0.6546 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.08973, allocations: 79.25 kB / 0.6547 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.08989, allocations: 32 kB / 0.6547 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.09005, allocations: 24.47 kB / 0.6548 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of SimCode: time 1.512e-06/0.09006, allocations: 0 / 0.6548 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1075, allocations: 4.315 MB / 0.659 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.192, allocations: 18.22 kB / 0.659 GB, free: 3.445 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 & 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.042655340395868] Failed to read output from testmodel.py, exit status != 0: 7.272394138388336 7.281435404 7.275669022 Calling exit ...