Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007238/0.0007238, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007713/0.0007713, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.904/0.904, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7153/0.7153, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.322e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002319/0.002343, allocations: 1.48 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.003141, allocations: 0.5804 MB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.003201, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.00323, allocations: 3.938 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.003275, allocations: 11.81 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.003589, allocations: 67.75 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003695, allocations: 31.86 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.003783, allocations: 7.969 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.003898, allocations: 27.91 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003945, allocations: 8 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.00396, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.004075, allocations: 55.94 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.004091, allocations: 3.984 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004117, allocations: 11.94 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004275, allocations: 79.78 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.004278, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.993e-06/0.00428, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.004285, allocations: 0 / 0.6204 GB, free: 11.28 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.0004027/0.004688, allocations: 280.3 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.004737, allocations: 8.031 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.004771, allocations: 30.75 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.004892, allocations: 16.88 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.005091, allocations: 125.6 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005102, allocations: 4.375 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.005112, allocations: 4.375 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005244, allocations: 50.23 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005253, allocations: 192 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005264, allocations: 4.125 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005269, allocations: 0 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.00533, allocations: 19.98 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.005618, allocations: 224 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.005684, allocations: 26.56 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.005719, allocations: 24.86 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.006047, allocations: 95.86 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.006067, allocations: 34.56 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.006069, allocations: 0 / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.006257, allocations: 65.62 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.006288, allocations: 55.39 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.006352, allocations: 113.8 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006363, allocations: 25.7 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.006399, allocations: 92.09 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.006413, allocations: 0 / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.006438, allocations: 13.72 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.006514, allocations: 318.8 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.006537, allocations: 8 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.006556, allocations: 12.11 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.006603, allocations: 28.91 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006605, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.027e-05/0.006676, allocations: 61.52 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006687, allocations: 8 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006693, allocations: 0 / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006703, allocations: 0 / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.006756, allocations: 11.92 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.006761, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.006778, allocations: 8.031 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.006782, allocations: 0 / 0.6221 GB, free: 9.352 MB / 0.5886 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 6.043e-05/0.006843, allocations: 114.8 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.006856, allocations: 7.891 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.006978, allocations: 73.19 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00698, allocations: 0 / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006984, allocations: 0 / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006988, allocations: 4 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.007091, allocations: 124.8 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.007095, allocations: 7.969 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.007113, allocations: 7.984 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.007114, allocations: 4 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.007121, allocations: 0 / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007121, allocations: 0 / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007122, allocations: 0 / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.007216, allocations: 147.5 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007225, allocations: 11.89 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.007237, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.007266, allocations: 8.031 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.0073, allocations: 3.984 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.007304, allocations: 4.359 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.007339, allocations: 95.16 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007339, allocations: 0 / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001626/0.007502, allocations: 15.94 kB / 0.6227 GB, free: 8.66 MB / 0.5886 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.0003743/0.007876, allocations: 0.6967 MB / 0.6234 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.007989, allocations: 27.95 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007992, allocations: 4 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.008014, allocations: 7.984 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.008179, allocations: 8 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.009102, allocations: 1.245 MB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.009157, allocations: 71.44 kB / 0.6247 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.009178, allocations: 4 kB / 0.6247 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.009209, allocations: 12.5 kB / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.00921, allocations: 0 / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.02515, allocations: 2.289 MB / 0.627 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.984, allocations: 11.22 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.840118802152574] Failed to read output from testmodel.py, exit status != 0: 7.063617969863117 7.071293913 7.065295497 Calling exit ...