Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006809/0.0006809, 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.0007688/0.0007688, 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.93/0.93, 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.7328/0.7328, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.923e-05, allocations: 9.344 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002736/0.002765, allocations: 1.485 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004211/0.003187, allocations: 147.5 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.003222, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.635e-05/0.003269, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.00334, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.003609, allocations: 35.83 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.00372, allocations: 43.91 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.003854, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.003918, allocations: 27.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.003969, allocations: 19.97 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.003993, allocations: 4 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.004084, allocations: 27.97 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.004108, allocations: 11.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.004132, allocations: 12 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004284, allocations: 67.78 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.004288, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.043e-06/0.004291, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.004296, allocations: 3.938 kB / 0.62 GB, free: 11.74 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.000452/0.004748, allocations: 296.2 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.004793, allocations: 8.031 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.004829, allocations: 34.75 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.005459, allocations: 212.5 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.005567, allocations: 113.8 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005579, allocations: 4.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.005593, allocations: 4.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.005945, allocations: 190 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005954, allocations: 192 / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005966, allocations: 384 / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.005973, allocations: 4.125 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.006401, allocations: 287.5 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.00701, allocations: 400.5 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.007581, allocations: 286.2 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.007764, allocations: 100.8 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.007792, allocations: 7.938 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.007817, allocations: 34.56 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.007818, allocations: 0 / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0006446/0.008463, allocations: 309.3 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.008506, allocations: 51.41 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.008601, allocations: 121.8 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.008617, allocations: 25.7 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.008673, allocations: 100.1 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.008698, allocations: 8.016 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.008738, allocations: 13.72 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.008839, allocations: 322.8 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.009031, allocations: 99.81 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.009204, allocations: 95.88 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.009537, allocations: 176.6 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.009539, allocations: 4 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000372/0.009911, allocations: 209.4 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.00993, allocations: 8 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.009937, allocations: 4 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.009952, allocations: 0 / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01009, allocations: 27.95 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.0101, allocations: 7.938 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.01018, allocations: 39.88 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.0102, allocations: 4 kB / 0.6234 GB, free: 8.012 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 7.73e-05/0.01027, allocations: 114.8 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.01029, allocations: 4 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.01034, allocations: 15.98 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01034, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01035, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01035, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01051, allocations: 172.6 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01051, allocations: 3.938 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01062, allocations: 35.94 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01062, allocations: 4 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.01063, allocations: 0 / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01063, allocations: 4 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01063, allocations: 0 / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.01106, allocations: 311.2 kB / 0.624 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01107, allocations: 7.953 kB / 0.6241 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01109, allocations: 7.984 kB / 0.6241 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.01118, allocations: 27.95 kB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.01122, allocations: 4 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01123, allocations: 0 / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.01127, allocations: 95.58 kB / 0.6242 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01127, allocations: 0 / 0.6242 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001553/0.01143, allocations: 16 kB / 0.6242 GB, free: 7.133 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.0006875/0.01211, allocations: 0.8376 MB / 0.625 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.01251, allocations: 199.7 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01252, allocations: 0 / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.01269, allocations: 96 kB / 0.6253 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01291, allocations: 8.094 kB / 0.6253 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.01501, allocations: 1.842 MB / 0.6271 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.01507, allocations: 79.27 kB / 0.6272 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.01513, allocations: 19.98 kB / 0.6272 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.01519, allocations: 16.5 kB / 0.6272 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of SimCode: time 1.433e-06/0.01519, allocations: 0 / 0.6272 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.03492, allocations: 2.667 MB / 0.6298 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/6.872, allocations: 10.45 kB / 0.6298 GB, free: 1.387 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.789984637871385] Failed to read output from testmodel.py, exit status != 0: 6.953337219543755 6.961614599 6.955575606 Calling exit ...