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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001541/0.001541, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.949 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.1431/0.1431, allocations: 24.13 MB / 336.6 MB, free: 11.41 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: "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [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.002041/0.002041, allocations: 67.83 kB / 470.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 59.59 MB / 0.5181 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00277/0.3679, allocations: 1.502 MB / 0.5195 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.3689, allocations: 0.5329 MB / 0.5201 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.369, allocations: 3.938 kB / 0.5201 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3693, allocations: 23.12 kB / 0.5201 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.3694, allocations: 28.27 kB / 0.5201 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3696, allocations: 60.05 kB / 0.5202 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3699, allocations: 148.2 kB / 0.5203 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.37, allocations: 11.2 kB / 0.5203 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3701, allocations: 54.14 kB / 0.5204 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3703, allocations: 68.94 kB / 0.5204 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3703, allocations: 6.906 kB / 0.5205 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.3703, allocations: 7.438 kB / 0.5205 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.3704, allocations: 36.8 kB / 0.5205 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.3705, allocations: 35.31 kB / 0.5205 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3706, allocations: 82.78 kB / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3706, allocations: 0.6094 kB / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3706, allocations: 1.062 kB / 0.5206 GB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3706, allocations: 3.938 kB / 0.5206 GB, free: 7.492 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.0008674/0.3715, allocations: 370.1 kB / 0.521 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3715, allocations: 10.2 kB / 0.521 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.3716, allocations: 43.12 kB / 0.521 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3716, allocations: 13.62 kB / 0.521 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.372, allocations: 181.1 kB / 0.5212 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.372, allocations: 2.594 kB / 0.5212 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3721, allocations: 8.406 kB / 0.5212 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3722, allocations: 73.47 kB / 0.5213 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3722, allocations: 10.23 kB / 0.5213 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3722, allocations: 0 / 0.5213 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3722, allocations: 1.406 kB / 0.5213 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3724, allocations: 50.23 kB / 0.5213 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.373, allocations: 345.3 kB / 0.5217 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3731, allocations: 78.17 kB / 0.5217 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.3732, allocations: 38.17 kB / 0.5218 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3732, allocations: 1.344 kB / 0.5218 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3732, allocations: 32.45 kB / 0.5218 GB, free: 6.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3732, allocations: 0 / 0.5218 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.3735, allocations: 123.9 kB / 0.5219 GB, free: 6.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.3735, allocations: 60.22 kB / 0.522 GB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.3738, allocations: 191.6 kB / 0.5222 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3739, allocations: 25.7 kB / 0.5222 GB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.3739, allocations: 109 kB / 0.5223 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3739, allocations: 23.5 kB / 0.5223 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.374, allocations: 21.86 kB / 0.5223 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.374, allocations: 325.6 kB / 0.5227 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.3741, allocations: 28.73 kB / 0.5227 GB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.3741, allocations: 37.31 kB / 0.5227 GB, free: 5.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3742, allocations: 71.75 kB / 0.5228 GB, free: 5.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3742, allocations: 0 / 0.5228 GB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001601/0.3744, allocations: 116.8 kB / 0.5229 GB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3744, allocations: 6.047 kB / 0.5229 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3744, allocations: 0 / 0.5229 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3744, allocations: 256 / 0.5229 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3747, allocations: 24.7 kB / 0.5229 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3747, allocations: 4 kB / 0.5229 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3748, allocations: 21.27 kB / 0.523 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3748, allocations: 2.922 kB / 0.523 GB, free: 5.66 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.092e-05/0.3749, allocations: 121.7 kB / 0.5231 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3749, allocations: 12.67 kB / 0.5231 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.375, allocations: 15.44 kB / 0.5231 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.375, allocations: 1.188 kB / 0.5231 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.375, allocations: 0 / 0.5231 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.375, allocations: 0.7031 kB / 0.5231 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3754, allocations: 379.8 kB / 0.5235 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3754, allocations: 0 / 0.5235 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.3755, allocations: 11.75 kB / 0.5235 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3755, allocations: 1.859 kB / 0.5235 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3755, allocations: 1.156 kB / 0.5235 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3755, allocations: 4.594 kB / 0.5235 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3755, allocations: 0 / 0.5235 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.3758, allocations: 232.9 kB / 0.5237 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.3758, allocations: 18.69 kB / 0.5237 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3758, allocations: 1.578 kB / 0.5237 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.376, allocations: 17.59 kB / 0.5237 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.376, allocations: 4.281 kB / 0.5237 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.376, allocations: 1.719 kB / 0.5237 GB, free: 5.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.3763, allocations: 151.8 kB / 0.5239 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3763, allocations: 5.125 kB / 0.5239 GB, free: 4.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.3765, allocations: 15.81 kB / 0.5239 GB, free: 4.918 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 0.00037/0.3769, allocations: 0.7692 MB / 0.5247 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3771, allocations: 67.48 kB / 0.5247 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3771, allocations: 0 / 0.5247 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.3771, allocations: 39.61 kB / 0.5248 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3774, allocations: 15.47 kB / 0.5248 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3795, allocations: 1.785 MB / 0.5265 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3797, allocations: 0.7088 MB / 0.5272 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.3797, allocations: 17.06 kB / 0.5272 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.3798, allocations: 29.89 kB / 0.5273 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3798, allocations: 0 / 0.5273 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4133, allocations: 2.632 MB / 0.5298 GB, free: 1.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 9.781 kB / 0.5298 GB, free: 1.629 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.279722171835601] Failed to read output from testmodel.py, exit status != 0: 11.586694943951443 11.616023963 11.240293867 Calling exit ...