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.001693/0.001693, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001506/0.001506, allocations: 222.3 kB / 23.77 MB, free: 4.422 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.1088/0.1088, allocations: 24.05 MB / 338 MB, free: 11.34 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.91 kB / 472.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 59.57 MB / 0.5198 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002191/0.3343, allocations: 1.475 MB / 0.5212 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.3351, allocations: 0.4904 MB / 0.5217 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.3352, allocations: 4.438 kB / 0.5217 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.3354, allocations: 27.34 kB / 0.5217 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3355, allocations: 24.3 kB / 0.5218 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3357, allocations: 60.84 kB / 0.5218 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.336, allocations: 147.1 kB / 0.522 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.409e-05/0.336, allocations: 7.125 kB / 0.522 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.3361, allocations: 55 kB / 0.522 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3363, allocations: 61.12 kB / 0.5221 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3363, allocations: 10.69 kB / 0.5221 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.3363, allocations: 6.875 kB / 0.5221 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.3364, allocations: 36.56 kB / 0.5221 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.3364, allocations: 34.39 kB / 0.5222 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3365, allocations: 74.56 kB / 0.5222 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3365, allocations: 0 / 0.5222 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3365, allocations: 1.312 kB / 0.5222 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3365, allocations: 0 / 0.5222 GB, free: 7.891 MB / 382.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.0007266/0.3373, allocations: 374 kB / 0.5226 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.3373, allocations: 9.797 kB / 0.5226 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3373, allocations: 13.91 kB / 0.5226 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3377, allocations: 185.3 kB / 0.5228 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3377, allocations: 7.062 kB / 0.5228 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3378, allocations: 7.875 kB / 0.5228 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3379, allocations: 72.61 kB / 0.5229 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3379, allocations: 0.7031 kB / 0.5229 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3379, allocations: 1 kB / 0.5229 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3379, allocations: 1.25 kB / 0.5229 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.338, allocations: 52.92 kB / 0.5229 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.3385, allocations: 294.4 kB / 0.5232 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3386, allocations: 86.92 kB / 0.5233 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.3387, allocations: 38.67 kB / 0.5233 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3387, allocations: 1.438 kB / 0.5233 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.3387, allocations: 39.84 kB / 0.5234 GB, free: 7.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3387, allocations: 0 / 0.5234 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002389/0.339, allocations: 123.1 kB / 0.5235 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.339, allocations: 53.25 kB / 0.5235 GB, free: 6.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.3393, allocations: 191.3 kB / 0.5237 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3393, allocations: 25.7 kB / 0.5238 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.3393, allocations: 109.2 kB / 0.5239 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3394, allocations: 28.44 kB / 0.5239 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3394, allocations: 25.25 kB / 0.5239 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.3394, allocations: 326.2 kB / 0.5242 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.3395, allocations: 29.27 kB / 0.5242 GB, free: 6.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.3395, allocations: 28.34 kB / 0.5243 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3396, allocations: 71.72 kB / 0.5243 GB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3396, allocations: 0 / 0.5243 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001446/0.3398, allocations: 104.5 kB / 0.5244 GB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3398, allocations: 7.75 kB / 0.5244 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3398, allocations: 5.281 kB / 0.5245 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3398, allocations: 0.75 kB / 0.5245 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.34, allocations: 26.89 kB / 0.5245 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.34, allocations: 1.562 kB / 0.5245 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3401, allocations: 24.12 kB / 0.5245 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3401, allocations: 2.625 kB / 0.5245 GB, free: 6.145 MB / 382.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 5.604e-05/0.3402, allocations: 123.1 kB / 0.5246 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.3402, allocations: 8.922 kB / 0.5246 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.3403, allocations: 16.27 kB / 0.5246 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3403, allocations: 5.125 kB / 0.5247 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3403, allocations: 1.953 kB / 0.5247 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3403, allocations: 1.688 kB / 0.5247 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3407, allocations: 343.9 kB / 0.525 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3407, allocations: 1.031 kB / 0.525 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3408, allocations: 11.48 kB / 0.525 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3408, allocations: 1.281 kB / 0.525 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3408, allocations: 1.719 kB / 0.525 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3408, allocations: 4 kB / 0.525 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3408, allocations: 1.641 kB / 0.525 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.341, allocations: 241.8 kB / 0.5252 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.341, allocations: 9.031 kB / 0.5252 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.341, allocations: 1.734 kB / 0.5252 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3412, allocations: 19.64 kB / 0.5253 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.3412, allocations: 2.734 kB / 0.5253 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3412, allocations: 2.094 kB / 0.5253 GB, free: 5.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3415, allocations: 146.4 kB / 0.5254 GB, free: 5.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3415, allocations: 3.938 kB / 0.5254 GB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3417, allocations: 23.56 kB / 0.5254 GB, free: 5.43 MB / 382.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 6.196e-05/0.3418, allocations: 96.44 kB / 0.5255 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.3419, allocations: 66.92 kB / 0.5256 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3419, allocations: 0 / 0.5256 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.342, allocations: 36.28 kB / 0.5256 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3422, allocations: 14.5 kB / 0.5256 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.3427, allocations: 272.7 kB / 0.5259 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.283e-05/0.3427, allocations: 97.12 kB / 0.526 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3428, allocations: 11.84 kB / 0.526 GB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3428, allocations: 1.375 kB / 0.526 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.0029/0.3457, allocations: 1.349 MB / 0.5273 GB, free: 4.922 MB / 382.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: 7.287263685837388] Failed to read output from testmodel.py, exit status != 0: 0.3538439916446805 0.366944559 0.027272543000000003 Calling exit ...