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.0009072/0.0009072, 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.0009754/0.0009754, 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.9259/0.9259, 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 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.7157/0.7157, allocations: 154.5 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 1.723e-06/1.723e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.971e-05, allocations: 5.234 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002205/0.002225, allocations: 1.482 MB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.002577, allocations: 151.5 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.002613, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.002655, allocations: 3.984 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.002727, allocations: 7.922 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.002946, allocations: 35.84 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.003034, allocations: 35.92 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.003141, allocations: 15.97 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.003189, allocations: 23.92 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.003227, allocations: 15.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.003241, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.003309, allocations: 31.97 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.003327, allocations: 15.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003346, allocations: 11.98 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003462, allocations: 67.78 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003464, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003465, allocations: 4 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003469, 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.0003365/0.003805, allocations: 286.1 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.003843, allocations: 9.469 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.003871, allocations: 42.75 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005484/0.00442, allocations: 204.5 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.047e-05/0.0045, allocations: 117.7 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004511, allocations: 384 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004524, allocations: 4.375 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.004864, allocations: 194 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004871, allocations: 192 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.004882, allocations: 384 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004888, allocations: 8.125 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.005317, allocations: 283.6 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.005866, allocations: 392.6 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.006416, allocations: 286.1 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.006592, allocations: 100.8 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.006613, allocations: 7.938 kB / 0.6218 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.006633, allocations: 34.55 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.006634, allocations: 4 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0006327/0.007267, allocations: 305.5 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.007303, allocations: 59.41 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.007383, allocations: 117.8 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.007397, allocations: 29.7 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.007442, allocations: 88.09 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.007466, allocations: 15.94 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.007501, allocations: 13.72 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.007579, allocations: 318.8 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.007758, allocations: 91.88 kB / 0.6228 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.007926, allocations: 103.9 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.008248, allocations: 176.5 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00825, allocations: 4 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003662/0.008616, allocations: 213.4 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.008628, allocations: 4 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008633, allocations: 0 / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.008644, allocations: 0 / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.008775, allocations: 39.94 kB / 0.6233 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.008779, allocations: 0 / 0.6233 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.008863, allocations: 31.89 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.008873, allocations: 4 kB / 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.125e-05/0.008935, allocations: 118.8 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.00895, allocations: 4 kB / 0.6235 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.008988, allocations: 15.94 kB / 0.6235 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.00899, allocations: 4 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008995, allocations: 0 / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.008997, allocations: 0 / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.009134, allocations: 172.6 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009137, allocations: 4 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.009229, allocations: 27.95 kB / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009231, allocations: 4 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.00924, allocations: 7.922 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009241, allocations: 0 / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009242, allocations: 4 kB / 0.6237 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.009645, allocations: 307.2 kB / 0.624 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.009655, allocations: 8.328 kB / 0.624 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.009669, allocations: 0 / 0.624 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.009768, allocations: 31.95 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.009802, allocations: 7.984 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.009806, allocations: 3.938 kB / 0.624 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.009842, allocations: 99.2 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009842, allocations: 0 / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001544/0.009997, allocations: 12 kB / 0.6241 GB, free: 7.203 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.0005646/0.01056, allocations: 0.8365 MB / 0.6249 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.01095, allocations: 195.7 kB / 0.6251 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01095, allocations: 4 kB / 0.6251 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.01113, allocations: 103.9 kB / 0.6252 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01131, allocations: 4 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.01342, allocations: 1.839 MB / 0.627 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.01347, allocations: 75.34 kB / 0.6271 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.01352, allocations: 23.97 kB / 0.6271 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.01357, allocations: 16.48 kB / 0.6271 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01357, allocations: 0 / 0.6271 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.02876, allocations: 2.695 MB / 0.6298 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.055, allocations: 1.312 kB / 0.6298 GB, free: 1.438 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 & /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: 9.767989189364016] Failed to read output from testmodel.py, exit status != 0: 7.13546328060329 7.147141264 7.141781298 Calling exit ...