Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001442/0.001442, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001567/0.001567, allocations: 160.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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: translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.587e-05/3.821e-05, allocations: 3.188 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.004422/0.00446, allocations: 1.458 MB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.005107, allocations: 183.4 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.005163, allocations: 0 / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.0052, allocations: 3.984 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.00526, allocations: 3.938 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.00567, allocations: 47.77 kB / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.005763, allocations: 23.94 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.005879, allocations: 7.984 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.005951, allocations: 8 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.006011, allocations: 15.92 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.006031, allocations: 0 / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.006162, allocations: 31.95 kB / 0.6203 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.006197, allocations: 15.92 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.006223, allocations: 0 / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.006427, allocations: 43.92 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.006433, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.006435, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.006442, allocations: 4 kB / 0.6203 GB, free: 2.824 MB / 0.5294 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.0006995/0.007142, allocations: 270.2 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.007202, allocations: 13.47 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.00726, allocations: 4.891 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.007445, allocations: 117.7 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.007462, allocations: 384 / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.007474, allocations: 384 / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.00775, allocations: 50.23 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.007762, allocations: 192 / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.007776, allocations: 8.312 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.007786, allocations: 4.375 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.008048, allocations: 35.89 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.008513, allocations: 192.6 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.008732, allocations: 42.5 kB / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.008872, allocations: 20.91 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/0.008968, allocations: 7.984 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.009012, allocations: 34.56 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.009013, allocations: 0 / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005605/0.009574, allocations: 85.55 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.009649, allocations: 59.33 kB / 0.6212 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.009775, allocations: 101.9 kB / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.009799, allocations: 25.7 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.009874, allocations: 80.14 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.009909, allocations: 16.06 kB / 0.6214 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.009962, allocations: 13.72 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.01016, allocations: 314.8 kB / 0.6218 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01028, allocations: 15.98 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.01039, allocations: 11.98 kB / 0.6218 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.01064, allocations: 40.81 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01064, allocations: 4.062 kB / 0.6218 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003185/0.01096, allocations: 73.59 kB / 0.6219 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.01098, allocations: 4 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.011, allocations: 3.938 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01102, allocations: 4 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01114, allocations: 7.938 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.01115, allocations: 3.984 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.01122, allocations: 4 kB / 0.6219 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01123, allocations: 4.031 kB / 0.6219 GB, free: 1.008 MB / 0.5294 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 0.0001191/0.01135, allocations: 114.8 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.01139, allocations: 3.984 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.01177, allocations: 92.78 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01177, allocations: 0 / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01178, allocations: 0 / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01178, allocations: 0 / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01199, allocations: 109.2 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.012, allocations: 8.031 kB / 0.6222 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.01209, allocations: 8.188 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.01209, allocations: 0 / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.0121, allocations: 4 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.01211, allocations: 3.938 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.01211, allocations: 4 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.01249, allocations: 155.5 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.01251, allocations: 7.984 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01253, allocations: 8.031 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01265, allocations: 7.938 kB / 0.6224 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.01271, allocations: 7.984 kB / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01271, allocations: 0 / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.01278, allocations: 79.28 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.01278, allocations: 0 / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004363/0.01322, allocations: 12 kB / 0.6225 GB, free: 336 kB / 0.5294 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.0002511/0.01347, allocations: 103.2 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.01379, allocations: 43.91 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0138, allocations: 0 / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.01393, allocations: 19.98 kB / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.01446, allocations: 3.984 kB / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01494, allocations: 108.8 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01505, allocations: 59.36 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.01508, allocations: 4.125 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01512, allocations: 8.5 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.01512, allocations: 0 / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Templates: time 0.004769/0.01989, allocations: 0.6158 MB / 0.6235 GB, free: 15.32 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.090709775686264] Failed to read output from testmodel.py, exit status != 0: 0.03269487991929054 0.053605525 0.04348864 Calling exit ...