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.001399/0.001399, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001691/0.001691, allocations: 205.8 kB / 23.01 MB, free: 4.992 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1123/0.1123, allocations: 24.04 MB / 337.2 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.002442/0.002442, allocations: 63.89 kB / 472 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4557, allocations: 59.57 MB / 0.5191 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003893/0.4596, allocations: 1.47 MB / 0.5205 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.4609, allocations: 0.5002 MB / 0.521 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.461, allocations: 0 / 0.521 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4613, allocations: 23.23 kB / 0.521 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.4615, allocations: 28.94 kB / 0.521 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.4619, allocations: 55.8 kB / 0.5211 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.4622, allocations: 139.6 kB / 0.5212 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4624, allocations: 11.33 kB / 0.5212 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.4625, allocations: 62.12 kB / 0.5213 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.4628, allocations: 61.8 kB / 0.5214 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.4628, allocations: 6.219 kB / 0.5214 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.4628, allocations: 7.438 kB / 0.5214 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4629, allocations: 33.27 kB / 0.5214 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.463, allocations: 34.62 kB / 0.5214 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.4632, allocations: 81.81 kB / 0.5215 GB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4632, allocations: 0.75 kB / 0.5215 GB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4632, allocations: 1.094 kB / 0.5215 GB, free: 7.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4632, allocations: 4 kB / 0.5215 GB, free: 7.824 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.001057/0.4643, allocations: 369 kB / 0.5219 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4643, allocations: 10.73 kB / 0.5219 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.4644, allocations: 13.94 kB / 0.5219 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.4648, allocations: 184.7 kB / 0.5221 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4648, allocations: 2.781 kB / 0.5221 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.4648, allocations: 7.812 kB / 0.5221 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.465, allocations: 76.89 kB / 0.5221 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.465, allocations: 0 / 0.5221 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.465, allocations: 1.75 kB / 0.5221 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.465, allocations: 5.219 kB / 0.5222 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.4651, allocations: 49.3 kB / 0.5222 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.4657, allocations: 305.8 kB / 0.5225 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4659, allocations: 79.48 kB / 0.5226 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.4659, allocations: 33.75 kB / 0.5226 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4659, allocations: 1.438 kB / 0.5226 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.4659, allocations: 32.59 kB / 0.5226 GB, free: 6.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.4659, allocations: 3.938 kB / 0.5226 GB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003008/0.4662, allocations: 129 kB / 0.5228 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.4663, allocations: 51.41 kB / 0.5228 GB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.4666, allocations: 199.5 kB / 0.523 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4666, allocations: 27.08 kB / 0.523 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.4667, allocations: 103 kB / 0.5231 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.4667, allocations: 25.58 kB / 0.5231 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.4668, allocations: 20.75 kB / 0.5232 GB, free: 6.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.4668, allocations: 322.5 kB / 0.5235 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.4669, allocations: 27.95 kB / 0.5235 GB, free: 6.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.467, allocations: 28.64 kB / 0.5235 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4671, allocations: 81 kB / 0.5236 GB, free: 6.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4671, allocations: 0 / 0.5236 GB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.4673, allocations: 112.2 kB / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4673, allocations: 5.219 kB / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4673, allocations: 0.5625 kB / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4673, allocations: 1.25 kB / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4675, allocations: 23.77 kB / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4675, allocations: 0 / 0.5237 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4676, allocations: 22.84 kB / 0.5238 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.4676, allocations: 1.438 kB / 0.5238 GB, free: 6.09 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 7.374e-05/0.4677, allocations: 129.8 kB / 0.5239 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.4678, allocations: 13.52 kB / 0.5239 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4678, allocations: 17.36 kB / 0.5239 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4678, allocations: 1.125 kB / 0.5239 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4678, allocations: 0 / 0.5239 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4678, allocations: 0.75 kB / 0.5239 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.4683, allocations: 333.5 kB / 0.5242 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4683, allocations: 320 / 0.5242 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.4684, allocations: 19.58 kB / 0.5243 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4684, allocations: 5.438 kB / 0.5243 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4684, allocations: 0.5625 kB / 0.5243 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4684, allocations: 5.438 kB / 0.5243 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4684, allocations: 0 / 0.5243 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.4686, allocations: 233.5 kB / 0.5245 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.4687, allocations: 10.38 kB / 0.5245 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4687, allocations: 1.875 kB / 0.5245 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.4689, allocations: 14 kB / 0.5245 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.4689, allocations: 4.641 kB / 0.5245 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4689, allocations: 5.281 kB / 0.5245 GB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.4692, allocations: 153.5 kB / 0.5247 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4692, allocations: 1.25 kB / 0.5247 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.4694, allocations: 19.97 kB / 0.5247 GB, free: 5.375 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 7.631e-05/0.4695, allocations: 95.14 kB / 0.5248 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.4697, allocations: 67.53 kB / 0.5248 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4697, allocations: 1.25 kB / 0.5248 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.4698, allocations: 34.78 kB / 0.5249 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4701, allocations: 18.27 kB / 0.5249 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.4706, allocations: 250.7 kB / 0.5251 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4707, allocations: 89.48 kB / 0.5252 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.4708, allocations: 18.34 kB / 0.5252 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.4709, allocations: 13.55 kB / 0.5253 GB, free: 4.992 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4709, allocations: 0 / 0.5253 GB, free: 4.992 MB / 382.1 MB Notification: Performance of Templates: time 0.004717/0.4756, allocations: 1.108 MB / 0.5263 GB, free: 4.867 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: 5.332231828942895] Failed to read output from testmodel.py, exit status != 0: 0.4843200333416462 0.502444837 0.035355595000000004 Calling exit ...