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.0007722/0.0007722, allocations: 75.7 kB / 20.8 MB, free: 3.715 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.00081/0.00081, allocations: 166 kB / 24.09 MB, free: 428 kB / 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.8812/0.8812, allocations: 177.1 MB / 204.4 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.06088/0.06088, allocations: 18.13 MB / 279 MB, free: 11.49 MB / 266.7 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.372e-06/1.372e-06, allocations: 0 / 414.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.029e-05, allocations: 4.594 kB / 414.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001731/0.001761, allocations: 1.463 MB / 415.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.002403, allocations: 0.4955 MB / 416.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.002464, allocations: 1.031 kB / 416.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.002721, allocations: 23.77 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.00282, allocations: 32.77 kB / 416.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.003013, allocations: 70.14 kB / 416.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.003131, allocations: 84.53 kB / 416.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.003217, allocations: 7.484 kB / 416.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.003279, allocations: 42.33 kB / 416.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.00339, allocations: 51.64 kB / 416.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.003411, allocations: 4.062 kB / 416.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.003426, allocations: 7.031 kB / 416.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.003487, allocations: 34.64 kB / 416.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.003521, allocations: 22.94 kB / 416.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003637, allocations: 77.73 kB / 416.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003639, allocations: 4.703 kB / 416.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.31e-06/0.003645, allocations: 0 / 416.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.003649, allocations: 0 / 416.6 MB, free: 12.2 MB / 330.7 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.0005314/0.004181, allocations: 373.6 kB / 416.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004214, allocations: 10.11 kB / 416.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.004246, allocations: 20.66 kB / 416.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.004474, allocations: 171 kB / 417.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.004484, allocations: 7.109 kB / 417.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.004508, allocations: 12.72 kB / 417.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.004609, allocations: 72.91 kB / 417.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.004623, allocations: 1.562 kB / 417.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004632, allocations: 1.266 kB / 417.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004637, allocations: 5.156 kB / 417.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.004713, allocations: 48.02 kB / 417.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.005074, allocations: 307.9 kB / 417.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.005181, allocations: 79.3 kB / 417.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.00522, allocations: 34.36 kB / 417.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.005232, allocations: 3.938 kB / 417.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.005247, allocations: 38 kB / 417.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005248, allocations: 0 / 417.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001995/0.005448, allocations: 126.1 kB / 417.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.005468, allocations: 57.34 kB / 417.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.00566, allocations: 191.4 kB / 418.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.005669, allocations: 27.08 kB / 418.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.005709, allocations: 103.5 kB / 418.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.005722, allocations: 24 kB / 418.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.00575, allocations: 22 kB / 418.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.128e-05/0.005781, allocations: 325.2 kB / 418.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.005818, allocations: 29.94 kB / 418.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.005852, allocations: 28.66 kB / 418.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.005929, allocations: 71.25 kB / 418.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.005931, allocations: 2.875 kB / 418.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001084/0.00604, allocations: 116.1 kB / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006052, allocations: 6.109 kB / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006056, allocations: 3.938 kB / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.006071, allocations: 0 / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.006191, allocations: 23.56 kB / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006196, allocations: 1.984 kB / 418.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.006257, allocations: 17.73 kB / 418.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006262, allocations: 1.375 kB / 418.9 MB, free: 10.46 MB / 330.7 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 4.112e-05/0.006303, allocations: 122.8 kB / 419 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.006322, allocations: 16.53 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.006348, allocations: 16.89 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006351, allocations: 2.172 kB / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006354, allocations: 0 / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.006357, allocations: 0 / 419 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.006631, allocations: 337.3 kB / 419.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.006634, allocations: 1.609 kB / 419.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.006688, allocations: 11.69 kB / 419.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.006691, allocations: 5.078 kB / 419.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.0067, allocations: 1.375 kB / 419.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006701, allocations: 1.375 kB / 419.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006702, allocations: 0 / 419.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.006895, allocations: 241.3 kB / 419.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.00691, allocations: 10.69 kB / 419.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.006924, allocations: 2.062 kB / 419.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.007003, allocations: 13.11 kB / 419.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.00702, allocations: 3.484 kB / 419.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.007025, allocations: 6.375 kB / 419.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.007156, allocations: 150.5 kB / 419.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007156, allocations: 0 / 419.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.007308, allocations: 20.09 kB / 419.8 MB, free: 9.762 MB / 330.7 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 5.787e-05/0.007366, allocations: 92.36 kB / 419.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.007497, allocations: 70.28 kB / 420 MB, free: 9.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007498, allocations: 1.125 kB / 420 MB, free: 9.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.007535, allocations: 32.59 kB / 420 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.007732, allocations: 27.77 kB / 420 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.008076, allocations: 234.2 kB / 420.3 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.008133, allocations: 92.58 kB / 420.3 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.817e-05/0.008181, allocations: 20.02 kB / 420.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.008214, allocations: 17.81 kB / 420.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008215, allocations: 0 / 420.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of Templates: time 0.002663/0.01088, allocations: 1.068 MB / 421.4 MB, free: 9.258 MB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.857890988700092] Failed to read output from testmodel.py, exit status != 0: 0.19140308070927858 0.024688644000000003 0.01928254 Calling exit ...