Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.000849/0.000849, 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.0009175/0.0009175, 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.9506/0.9506, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7255/0.7255, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.895e-05, allocations: 6.031 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002677/0.002696, allocations: 1.483 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.003145, allocations: 135.6 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.003186, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.00324, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.003324, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.003603, allocations: 43.83 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.003724, allocations: 43.84 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.003855, allocations: 8 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.00392, allocations: 23.97 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.003969, allocations: 23.91 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003988, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.004077, allocations: 23.98 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.0041, allocations: 15.92 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.004127, allocations: 15.94 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004285, allocations: 63.84 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.004289, allocations: 7.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00429, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004294, allocations: 0 / 0.6199 GB, free: 11.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004352/0.004729, allocations: 286.1 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.00477, allocations: 9.469 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.004808, allocations: 38.75 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.005683, allocations: 212.5 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.005779, allocations: 109.8 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005792, allocations: 4.375 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.005809, allocations: 4.375 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.006285, allocations: 194 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.006294, allocations: 4.188 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.006311, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.006319, allocations: 4.125 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.007012, allocations: 279.6 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.007844, allocations: 388.7 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.008679, allocations: 290.1 kB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.00885, allocations: 100.7 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.008869, allocations: 4 kB / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.008885, allocations: 30.56 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.008887, allocations: 0 / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005889/0.009476, allocations: 305.3 kB / 0.6221 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.009504, allocations: 59.34 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.009572, allocations: 121.8 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.009583, allocations: 29.7 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.009618, allocations: 88.14 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.009637, allocations: 15.91 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.00967, allocations: 17.7 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.009742, allocations: 314.8 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.00991, allocations: 95.81 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.01007, allocations: 100.1 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.01053, allocations: 176.6 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01054, allocations: 0 / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003561/0.01089, allocations: 221.4 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.0109, allocations: 4 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01091, allocations: 0 / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01092, allocations: 0 / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.01104, allocations: 31.95 kB / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01105, allocations: 7.984 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.01113, allocations: 31.91 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.01114, allocations: 0 / 0.6233 GB, free: 8.094 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 (3): * Single equations (assignments): 3 * 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.026e-05/0.0112, allocations: 118.8 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.01121, allocations: 7.984 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.01125, allocations: 8 kB / 0.6235 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01126, allocations: 4 kB / 0.6235 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01126, allocations: 0 / 0.6235 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01126, allocations: 4 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.0114, allocations: 176.7 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.0114, allocations: 0 / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.0115, allocations: 31.94 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.0115, allocations: 4 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.01151, allocations: 0 / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01151, allocations: 0 / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01151, allocations: 0 / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.01189, allocations: 315.2 kB / 0.624 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.01191, allocations: 20.25 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01192, allocations: 0 / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.01201, allocations: 27.95 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.01204, allocations: 4 kB / 0.624 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.01205, allocations: 7.938 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.01209, allocations: 95.27 kB / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01209, allocations: 0 / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001474/0.01224, allocations: 12 kB / 0.6241 GB, free: 7.199 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 (3): * Single equations (assignments): 3 * 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.0005546/0.01279, allocations: 0.841 MB / 0.6249 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.01316, allocations: 195.7 kB / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01316, allocations: 0 / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.01333, allocations: 103.9 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.01351, allocations: 2.188 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.01536, allocations: 1.849 MB / 0.627 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.296e-05/0.01541, allocations: 75.33 kB / 0.6271 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.01546, allocations: 19.98 kB / 0.6271 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.01551, allocations: 20.48 kB / 0.6272 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.01552, allocations: 0 / 0.6272 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.03025, allocations: 2.683 MB / 0.6298 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.938, allocations: 5.625 kB / 0.6298 GB, free: 1.434 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.803644585423172] Failed to read output from testmodel.py, exit status != 0: 7.019558685831726 7.028886087 7.022254059 Calling exit ...