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.0008371/0.0008371, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.001102/0.001102, allocations: 218.2 kB / 22.25 MB, free: 3.699 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.9924/0.9924, allocations: 230.6 MB / 256 MB, free: 9.793 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.8036/0.8036, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.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: 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.0009702/0.0009702, allocations: 67.23 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6207, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001898/0.6226, allocations: 1.469 MB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.623, allocations: 201.4 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.623, allocations: 1.5 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.623, allocations: 8.688 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.6231, allocations: 3.938 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.6234, allocations: 42.17 kB / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.6234, allocations: 21.62 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.6235, allocations: 6.719 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.6236, allocations: 5.984 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.6236, allocations: 14.16 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.6236, allocations: 0 / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.6237, allocations: 33.94 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.6237, allocations: 10.75 kB / 0.8196 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.6237, allocations: 13.98 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.6238, allocations: 40.34 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6238, allocations: 0.8125 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6238, allocations: 0 / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6239, allocations: 0 / 0.8197 GB, free: 8 kB / 0.6042 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.0003835/0.6242, allocations: 269.2 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.6243, allocations: 12.12 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.6243, allocations: 31.36 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.6243, allocations: 4.891 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.6244, allocations: 119.6 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.6244, allocations: 4.375 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.6244, allocations: 384 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6246, allocations: 55.11 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6246, allocations: 3.938 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.6246, allocations: 4.5 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6246, allocations: 0 / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.6247, allocations: 37.02 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.625, allocations: 215.8 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.6251, allocations: 42.62 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.6251, allocations: 23.72 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.084e-05/0.6252, allocations: 5.297 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6252, allocations: 34.56 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6252, allocations: 0 / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002277/0.6254, allocations: 84.72 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.6254, allocations: 52.59 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.6255, allocations: 106.7 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.6255, allocations: 26.58 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.6256, allocations: 88.44 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.6256, allocations: 12.48 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.6256, allocations: 16.84 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.6257, allocations: 312.3 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.6257, allocations: 19.92 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.6258, allocations: 11.61 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.6259, allocations: 41.73 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6259, allocations: 3.938 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.626, allocations: 74.72 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.626, allocations: 3.969 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.626, allocations: 0.6094 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.626, allocations: 0 / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.6261, allocations: 18.42 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6261, allocations: 0 / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.6261, allocations: 5.359 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.6261, allocations: 0 / 0.8214 GB, free: 14.43 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 5.673e-05/0.6262, allocations: 112.8 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.6262, allocations: 2.875 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.6264, allocations: 79.44 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6264, allocations: 0 / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6264, allocations: 1.812 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6264, allocations: 0.5625 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.6265, allocations: 139.6 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6265, allocations: 0 / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.6265, allocations: 13.28 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6265, allocations: 0.6562 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.6265, allocations: 0 / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6265, allocations: 7.688 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6265, allocations: 4.688 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.6267, allocations: 161 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.6267, allocations: 1.688 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.6267, allocations: 0.5156 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.6267, allocations: 7.203 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.6267, allocations: 9.531 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.6267, allocations: 2.781 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.6268, allocations: 83.77 kB / 0.822 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6268, allocations: 1.969 kB / 0.822 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001684/0.6269, allocations: 8.25 kB / 0.822 GB, free: 13.86 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.0003897/0.6273, allocations: 0.7094 MB / 0.8227 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.6275, allocations: 39.53 kB / 0.8227 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6275, allocations: 0 / 0.8227 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.6275, allocations: 16 kB / 0.8227 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.6278, allocations: 15.02 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.6281, allocations: 143.7 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.6283, allocations: 0.677 MB / 0.8235 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.6283, allocations: 3.984 kB / 0.8235 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.6283, allocations: 12.42 kB / 0.8235 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.6283, allocations: 0 / 0.8235 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.6447, allocations: 1.55 MB / 0.825 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.448/7.093, allocations: 13.45 kB / 0.8251 GB, free: 11.86 MB / 0.6198 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: 10.231165159028023] Failed to read output from testmodel.py, exit status != 0: 7.17256199894473 7.184939293 6.559040711 Calling exit ...