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.001187/0.001187, 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.001017/0.001017, 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.8904/0.8904, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7311/0.7311, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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 1.303e-06/1.303e-06, allocations: 0 / 0.6181 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.709e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001971/0.001988, allocations: 1.485 MB / 0.6195 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.002311, allocations: 139.5 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.002348, allocations: 4 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.002394, allocations: 3.938 kB / 0.6197 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.002463, allocations: 11.97 kB / 0.6197 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.002682, allocations: 23.92 kB / 0.6197 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.002768, allocations: 43.84 kB / 0.6198 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.002874, allocations: 27.97 kB / 0.6198 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.002938, allocations: 19.92 kB / 0.6198 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.002975, allocations: 19.98 kB / 0.6198 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.00299, allocations: 4 kB / 0.6198 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.003055, allocations: 27.97 kB / 0.6199 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.00307, allocations: 7.984 kB / 0.6199 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.00309, allocations: 15.94 kB / 0.6199 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003208, allocations: 79.7 kB / 0.62 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00321, allocations: 0 / 0.62 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003211, allocations: 0 / 0.62 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.003214, allocations: 0 / 0.62 GB, free: 10.61 MB / 0.5417 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.0003576/0.003572, allocations: 284.4 kB / 0.6202 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.003613, allocations: 12.03 kB / 0.6202 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.003644, allocations: 34.73 kB / 0.6203 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.004196, allocations: 216.5 kB / 0.6205 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.004269, allocations: 105.8 kB / 0.6206 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.004281, allocations: 8.375 kB / 0.6206 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004291, allocations: 384 / 0.6206 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.004612, allocations: 198 kB / 0.6208 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004619, allocations: 4.188 kB / 0.6208 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.00463, allocations: 384 / 0.6208 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004635, allocations: 4.125 kB / 0.6208 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.005056, allocations: 279.5 kB / 0.6211 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.005672, allocations: 404.3 kB / 0.6214 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.006213, allocations: 290.1 kB / 0.6217 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.006387, allocations: 100.8 kB / 0.6218 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.00641, allocations: 0 / 0.6218 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.006429, allocations: 34.56 kB / 0.6218 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.006431, allocations: 0 / 0.6218 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005969/0.007027, allocations: 305.3 kB / 0.6221 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.007055, allocations: 59.33 kB / 0.6222 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.007123, allocations: 125.7 kB / 0.6223 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.007135, allocations: 25.7 kB / 0.6223 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.00717, allocations: 92.14 kB / 0.6224 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.007187, allocations: 11.91 kB / 0.6224 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.00722, allocations: 17.7 kB / 0.6225 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.007292, allocations: 318.8 kB / 0.6228 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.007591, allocations: 95.86 kB / 0.6228 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.007757, allocations: 95.88 kB / 0.6229 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.008074, allocations: 168.6 kB / 0.6231 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008076, allocations: 0 / 0.6231 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003629/0.008439, allocations: 217.5 kB / 0.6233 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.008451, allocations: 4 kB / 0.6233 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008455, allocations: 4 kB / 0.6233 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.008466, allocations: 0 / 0.6233 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.008592, allocations: 35.88 kB / 0.6234 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.008596, allocations: 0 / 0.6234 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/0.008682, allocations: 39.84 kB / 0.6234 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008691, allocations: 4 kB / 0.6234 GB, free: 6.887 MB / 0.5417 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.055e-05/0.008752, allocations: 122.8 kB / 0.6235 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.008767, allocations: 0 / 0.6235 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.008801, allocations: 12 kB / 0.6235 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008803, allocations: 0 / 0.6235 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.008807, allocations: 0 / 0.6235 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.008811, allocations: 4 kB / 0.6235 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.008952, allocations: 168.7 kB / 0.6237 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/0.008994, allocations: 3.984 kB / 0.6237 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.00919, allocations: 31.95 kB / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.009197, allocations: 336 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.00921, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.009214, allocations: 4 kB / 0.6237 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009216, allocations: 0 / 0.6237 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.009699, allocations: 327.5 kB / 0.624 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.009717, allocations: 3.953 kB / 0.624 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.009732, allocations: 0 / 0.624 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.009871, allocations: 31.89 kB / 0.6241 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.009909, allocations: 11.92 kB / 0.6241 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.009916, allocations: 4 kB / 0.6241 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.009958, allocations: 95.27 kB / 0.6242 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009958, allocations: 0 / 0.6242 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001622/0.01012, allocations: 12 kB / 0.6242 GB, free: 5.996 MB / 0.5417 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.0007159/0.01084, allocations: 0.8372 MB / 0.625 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.01131, allocations: 195.7 kB / 0.6252 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01131, allocations: 0 / 0.6252 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.01159, allocations: 99.88 kB / 0.6253 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.0118, allocations: 6.656 kB / 0.6253 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.01392, allocations: 1.86 MB / 0.6271 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.01397, allocations: 71.33 kB / 0.6272 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01403, allocations: 19.98 kB / 0.6272 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.0141, allocations: 24.48 kB / 0.6272 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of SimCode: time 1.312e-06/0.0141, allocations: 0 / 0.6272 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.0312, allocations: 2.661 MB / 0.6298 GB, free: 256 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/6.685, allocations: 13.5 kB / 0.6298 GB, free: 244 kB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.33489711675793] Failed to read output from testmodel.py, exit status != 0: 6.765982015058398 6.780925739 6.774582774 Calling exit ...