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.001085/0.001085, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009247/0.0009247, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9241/0.9241, allocations: 230.6 MB / 256 MB, free: 9.621 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.795/0.795, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.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: 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.0008735/0.0008735, allocations: 66.55 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5371, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001905/0.539, allocations: 1.482 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003698/0.5393, allocations: 150.3 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.5394, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.5394, allocations: 2.406 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.5395, allocations: 8.516 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.5397, allocations: 30.48 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.5398, allocations: 40.11 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.5399, allocations: 15.3 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.54, allocations: 15.84 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.54, allocations: 22.36 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.54, allocations: 4.562 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.5401, allocations: 37.08 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.5401, allocations: 14.03 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.5401, allocations: 13.33 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.5403, allocations: 69.89 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5403, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5403, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5403, allocations: 3.938 kB / 0.8197 GB, free: 15.8 MB / 0.6198 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.0003714/0.5407, allocations: 294.3 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5407, allocations: 11.91 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.5407, allocations: 35.27 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.5414, allocations: 210.5 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.5415, allocations: 104.2 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5415, allocations: 8.984 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5415, allocations: 4.375 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.5419, allocations: 198.7 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5419, allocations: 4.5 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5419, allocations: 0 / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5419, allocations: 2.625 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.5424, allocations: 280.8 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.543, allocations: 398.9 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.5436, allocations: 289.1 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5438, allocations: 104.1 kB / 0.8215 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5438, allocations: 5.688 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5438, allocations: 32.48 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5438, allocations: 0.9062 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006936/0.5445, allocations: 314.2 kB / 0.8218 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.5446, allocations: 55.95 kB / 0.8219 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.5446, allocations: 119.4 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5446, allocations: 25.7 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.5447, allocations: 91.89 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.5447, allocations: 15.88 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.5447, allocations: 15.31 kB / 0.8222 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.5448, allocations: 322.3 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.545, allocations: 95.47 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.5452, allocations: 96.47 kB / 0.8226 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.5456, allocations: 174.2 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5456, allocations: 0 / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004246/0.546, allocations: 212 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.546, allocations: 5.109 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.546, allocations: 5.344 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5461, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5462, allocations: 33.33 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5462, allocations: 3.938 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.5463, allocations: 28.44 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.5463, allocations: 7.109 kB / 0.8231 GB, free: 13.95 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 (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 8.987e-05/0.5464, allocations: 114.9 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.5464, allocations: 10.77 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.5465, allocations: 12.09 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5465, allocations: 0.7969 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5465, allocations: 5.125 kB / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5465, allocations: 0 / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5466, allocations: 165.2 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5466, allocations: 0.9062 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5468, allocations: 32.97 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5468, allocations: 5.094 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5468, allocations: 1.266 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5468, allocations: 1.094 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5468, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.5472, allocations: 321.8 kB / 0.8237 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.5473, allocations: 6.031 kB / 0.8237 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.5473, allocations: 5.219 kB / 0.8237 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5474, allocations: 26.62 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5474, allocations: 3.984 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5474, allocations: 2.297 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.5475, allocations: 93.5 kB / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5475, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001585/0.5476, allocations: 24.41 kB / 0.8239 GB, free: 13.36 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 (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.0006839/0.5483, allocations: 0.8408 MB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.5488, allocations: 196.3 kB / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5488, allocations: 1.219 kB / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.549, allocations: 99.34 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.5492, allocations: 3.031 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5515, allocations: 1.846 MB / 0.8268 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.5515, allocations: 73.55 kB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.307e-05/0.5516, allocations: 20.56 kB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.5516, allocations: 17.39 kB / 0.8269 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.5517, allocations: 0 / 0.8269 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.5712, allocations: 2.548 MB / 0.8294 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/7.181, allocations: 10.48 kB / 0.8294 GB, free: 10.34 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.099929453339428] Failed to read output from testmodel.py, exit status != 0: 7.260260329116136 7.273353399 6.731115297 Calling exit ...