Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001396/0.001396, allocations: 82.64 kB / 19.96 MB, free: 1.754 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.001527/0.001527, allocations: 162.4 kB / 23.23 MB, free: 4.883 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 / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1072/0.1072, allocations: 18.13 MB / 278.1 MB, free: 15.05 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 413.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.795e-05, allocations: 2.281 kB / 413.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00313/0.003158, allocations: 1.475 MB / 414.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004333, allocations: 494.8 kB / 415.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.004428, allocations: 3.938 kB / 415.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.004731, allocations: 31.84 kB / 415.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.00488, allocations: 23.78 kB / 415.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.005188, allocations: 71.83 kB / 415.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.005376, allocations: 83.73 kB / 415.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.005473, allocations: 11.98 kB / 415.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.005588, allocations: 39.83 kB / 415.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.005776, allocations: 47.88 kB / 415.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.005825, allocations: 8 kB / 415.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.005848, allocations: 4 kB / 415.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.005937, allocations: 43.83 kB / 415.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.005993, allocations: 23.92 kB / 415.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.006166, allocations: 79.75 kB / 415.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.00617, allocations: 0 / 415.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.006171, allocations: 0 / 415.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.006177, allocations: 3.938 kB / 415.6 MB, free: 2.539 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001002/0.007179, allocations: 369.9 kB / 415.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001079/0.007287, allocations: 8.922 kB / 416 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.007356, allocations: 16.84 kB / 416 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.007874, allocations: 169.6 kB / 416.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.007887, allocations: 4.375 kB / 416.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.007928, allocations: 8.328 kB / 416.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.008126, allocations: 70.22 kB / 416.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.008143, allocations: 4.188 kB / 416.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.008157, allocations: 4.375 kB / 416.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.008166, allocations: 3.938 kB / 416.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.008298, allocations: 55.91 kB / 416.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.009011, allocations: 300.3 kB / 416.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.009203, allocations: 78.62 kB / 416.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.009275, allocations: 40.91 kB / 416.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.009288, allocations: 3.938 kB / 416.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.00932, allocations: 38.56 kB / 416.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.009322, allocations: 0 / 416.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003531/0.009675, allocations: 125.5 kB / 416.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.009724, allocations: 51.41 kB / 416.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.01013, allocations: 193.2 kB / 417.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01016, allocations: 29.7 kB / 417.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01027, allocations: 104.1 kB / 417.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.01031, allocations: 19.78 kB / 417.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.01038, allocations: 25.72 kB / 417.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01056, allocations: 326.8 kB / 417.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.01063, allocations: 31.92 kB / 417.6 MB, free: 344 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.01068, allocations: 31.97 kB / 417.7 MB, free: 312 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01084, allocations: 68.97 kB / 417.7 MB, free: 240 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01084, allocations: 0 / 417.7 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002132/0.01105, allocations: 117.8 kB / 417.8 MB, free: 116 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.01107, allocations: 8 kB / 417.8 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.01108, allocations: 3.984 kB / 417.9 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.01111, allocations: 0 / 417.9 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.01133, allocations: 31.92 kB / 417.9 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01134, allocations: 0 / 417.9 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.01148, allocations: 19.92 kB / 417.9 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01149, allocations: 0 / 417.9 MB, free: 52 kB / 334.1 MB 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 (8): * Single equations (assignments): 8 * 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.0001577/0.01164, allocations: 121.8 kB / 418 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01169, allocations: 15.84 kB / 418 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.01174, allocations: 16.78 kB / 418.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01174, allocations: 0 / 418.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01175, allocations: 0 / 418.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01175, allocations: 3.984 kB / 418.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.01235, allocations: 346 kB / 418.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01236, allocations: 0 / 418.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.01245, allocations: 8 kB / 418.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01245, allocations: 3.938 kB / 418.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.01247, allocations: 7.984 kB / 418.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01247, allocations: 0 / 418.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01247, allocations: 0 / 418.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.0128, allocations: 235.3 kB / 418.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.01283, allocations: 11.98 kB / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01285, allocations: 0 / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.01303, allocations: 24.03 kB / 418.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.01306, allocations: 0 / 418.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01307, allocations: 4 kB / 418.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.01338, allocations: 149.6 kB / 418.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01338, allocations: 0 / 418.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.01363, allocations: 16 kB / 418.8 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.0001388/0.01377, allocations: 95.19 kB / 418.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.014, allocations: 68.08 kB / 419 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.014, allocations: 3.938 kB / 419 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.01407, allocations: 35.98 kB / 419 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.01438, allocations: 19.92 kB / 419.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.015, allocations: 237.2 kB / 419.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01511, allocations: 85.11 kB / 419.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.01518, allocations: 24.47 kB / 419.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.01523, allocations: 16.5 kB / 419.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.01523, allocations: 0 / 419.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004744/0.01997, allocations: 1.049 MB / 420.5 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.428140584379435] Failed to read output from testmodel.py, exit status != 0: 0.02935761585831642 0.046878177 0.037211496000000004 Calling exit ...