Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.0009624/0.0009624, allocations: 76.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.0008293/0.0008293, allocations: 173.2 kB / 22.46 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.91/0.91, 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.7246/0.7246, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.323e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002023/0.002046, allocations: 1.47 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003353/0.002381, allocations: 179.5 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.002411, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.002438, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.002479, allocations: 7.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.002753, allocations: 39.89 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.002819, allocations: 23.92 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.002913, allocations: 4 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.002963, allocations: 11.98 kB / 0.6197 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.002999, allocations: 11.94 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003013, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.003091, allocations: 35.94 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.00311, allocations: 11.94 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.003125, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.003243, allocations: 47.86 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003245, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003246, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.00325, allocations: 0 / 0.6199 GB, free: 11.81 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.0003454/0.003595, allocations: 270.2 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.003635, allocations: 13.47 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.003665, allocations: 38.73 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.003685, allocations: 0.9375 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.003773, allocations: 105.8 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.003784, allocations: 384 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003794, allocations: 8.375 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003919, allocations: 46.23 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003927, allocations: 4.188 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003936, allocations: 384 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.003942, allocations: 4.125 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.004034, allocations: 35.91 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.004311, allocations: 216 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.004391, allocations: 46.48 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.004435, allocations: 20.91 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.004491, allocations: 4 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.004514, allocations: 38.5 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.004515, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002206/0.004736, allocations: 85.58 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.004769, allocations: 51.53 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.004829, allocations: 105.8 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.004838, allocations: 25.7 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.004874, allocations: 84.14 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.004891, allocations: 7.953 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.004915, allocations: 13.72 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.004992, allocations: 314.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.005037, allocations: 15.98 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.005072, allocations: 15.98 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.005152, allocations: 48.83 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005154, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.005258, allocations: 65.59 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.00527, allocations: 8 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.005274, allocations: 3.938 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.005284, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.005344, allocations: 16.02 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.005349, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.005371, allocations: 7.984 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.005376, allocations: 256 / 0.6215 GB, free: 9.93 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 5.101e-05/0.005427, allocations: 110.8 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.005443, allocations: 11.89 kB / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.005571, allocations: 68.91 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005573, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.005579, allocations: 12.03 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005581, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.005681, allocations: 124.8 kB / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005682, allocations: 0 / 0.6218 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.005705, allocations: 11.98 kB / 0.6218 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005708, allocations: 3.938 kB / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005714, allocations: 0 / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005714, allocations: 0 / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005715, allocations: 0 / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.00584, allocations: 171.4 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.005849, allocations: 11.88 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.005858, allocations: 0 / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.005894, allocations: 7.984 kB / 0.622 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.005923, allocations: 3.938 kB / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.005924, allocations: 0 / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.005955, allocations: 87.27 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005955, allocations: 0 / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001607/0.006116, allocations: 15.95 kB / 0.6221 GB, free: 9.223 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.0003507/0.006466, allocations: 0.6968 MB / 0.6228 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.006593, allocations: 43.89 kB / 0.6228 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006595, allocations: 0 / 0.6228 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.006636, allocations: 19.98 kB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.006839, allocations: 6.188 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.007169, allocations: 134.6 kB / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.007209, allocations: 59.3 kB / 0.623 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.007227, allocations: 7.984 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.007256, allocations: 12.5 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.007256, allocations: 0 / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02271, allocations: 2.113 MB / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.964, allocations: 7.344 kB / 0.6251 GB, free: 6.191 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.823693974874914] Failed to read output from testmodel.py, exit status != 0: 7.054853317327797 7.068607683 7.062741014 Calling exit ...