Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.0007662/0.0007662, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007966/0.0007966, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8597/0.8597, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7136/0.7136, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.267e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002007/0.00204, allocations: 1.465 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.002424, allocations: 183.4 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.002456, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.002481, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.002523, allocations: 7.938 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.002785, allocations: 43.83 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.029e-05/0.002856, allocations: 23.92 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002958, allocations: 8 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.003014, allocations: 19.86 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.003057, allocations: 8 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003071, allocations: 0 / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.5e-05/0.003146, allocations: 35.95 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.003163, allocations: 7.984 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.00318, allocations: 0 / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.00331, allocations: 43.88 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003312, allocations: 4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003313, allocations: 0 / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003318, allocations: 4 kB / 0.6211 GB, free: 11.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003899/0.003708, allocations: 270.2 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.00375, allocations: 8.031 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.003783, allocations: 0.9375 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.003876, allocations: 113.8 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003888, allocations: 4.312 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.003898, allocations: 384 / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.00403, allocations: 54.23 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004038, allocations: 192 / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004049, allocations: 8.359 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004055, allocations: 384 / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-05/0.004145, allocations: 31.91 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.004402, allocations: 204.6 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.004477, allocations: 38.5 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.00452, allocations: 24.91 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.004575, allocations: 7.984 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.004594, allocations: 30.56 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004594, allocations: 0 / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000211/0.004805, allocations: 85.58 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.004837, allocations: 55.34 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.004892, allocations: 101.9 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.004901, allocations: 29.83 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.004936, allocations: 88.12 kB / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.004952, allocations: 7.891 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.004976, allocations: 13.72 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.00506, allocations: 314.8 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.005099, allocations: 15.98 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.005134, allocations: 15.97 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.005204, allocations: 40.89 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005206, allocations: 0 / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.704e-05/0.005303, allocations: 69.66 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005313, allocations: 4 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.005318, allocations: 11.88 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.005327, allocations: 3.938 kB / 0.6227 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.005383, allocations: 8.234 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005387, allocations: 32 / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.005408, allocations: 12 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.005413, allocations: 0 / 0.6227 GB, free: 9.48 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 (2): * Single equations (assignments): 2 * 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 4.923e-05/0.005462, allocations: 118.8 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.005475, allocations: 3.953 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.005603, allocations: 80.86 kB / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.005605, allocations: 0 / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.005608, allocations: 0 / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.00561, allocations: 4.031 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.094e-05/0.005691, allocations: 109.3 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005692, allocations: 0 / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.005712, allocations: 4 kB / 0.6231 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005714, allocations: 0 / 0.6231 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005721, allocations: 7.922 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005722, allocations: 7.938 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005723, allocations: 0 / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005837, allocations: 159.5 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-06/0.005841, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.00585, allocations: 4 kB / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.005884, allocations: 7.938 kB / 0.6232 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.005918, allocations: 7.984 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.005919, allocations: 0 / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.005945, allocations: 79.28 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005945, allocations: 0 / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000146/0.006091, allocations: 15.94 kB / 0.6233 GB, free: 8.82 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 (2): * Single equations (assignments): 2 * 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.0001136/0.006205, allocations: 107.3 kB / 0.6234 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.006324, allocations: 39.91 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006325, allocations: 0 / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.006364, allocations: 23.97 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.006538, allocations: 0 / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.006761, allocations: 130.6 kB / 0.6236 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.006805, allocations: 63.48 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.006823, allocations: 12.48 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.006823, allocations: 0 / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of Templates: time 0.00143/0.008253, allocations: 0.6872 MB / 0.6244 GB, free: 7.707 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.007806562818587] Failed to read output from testmodel.py, exit status != 0: 0.01315270084887743 0.02113317 0.016260008 Calling exit ...