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.002043/0.002043, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.002203/0.002203, allocations: 208.5 kB / 23.01 MB, free: 4.984 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1075/0.1075, allocations: 24.03 MB / 337.2 MB, free: 11.35 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.002131/0.002131, allocations: 71.89 kB / 471.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 59.57 MB / 0.5186 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003467/0.3415, allocations: 1.476 MB / 0.52 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3428, allocations: 498.4 kB / 0.5205 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.3428, allocations: 1.594 kB / 0.5205 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3432, allocations: 30.22 kB / 0.5205 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3433, allocations: 28.58 kB / 0.5206 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3436, allocations: 52.17 kB / 0.5206 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.344, allocations: 147.2 kB / 0.5207 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3441, allocations: 11.53 kB / 0.5208 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3442, allocations: 50.31 kB / 0.5208 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3444, allocations: 69.41 kB / 0.5209 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.3445, allocations: 10.72 kB / 0.5209 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.3445, allocations: 10.75 kB / 0.5209 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.766e-05/0.3446, allocations: 32.44 kB / 0.5209 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.3447, allocations: 28 kB / 0.5209 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3448, allocations: 80.5 kB / 0.521 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3448, allocations: 0 / 0.521 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3448, allocations: 0 / 0.521 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3449, allocations: 1.562 kB / 0.521 GB, free: 7.488 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.001064/0.3459, allocations: 374 kB / 0.5214 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.346, allocations: 10.83 kB / 0.5214 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.346, allocations: 38.42 kB / 0.5214 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.3461, allocations: 14.66 kB / 0.5214 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.3466, allocations: 176.9 kB / 0.5216 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.3466, allocations: 1.531 kB / 0.5216 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3466, allocations: 9.453 kB / 0.5216 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3468, allocations: 82.06 kB / 0.5217 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3468, allocations: 0.5625 kB / 0.5217 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3469, allocations: 5.094 kB / 0.5217 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3469, allocations: 1.125 kB / 0.5217 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.347, allocations: 53.94 kB / 0.5218 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.3478, allocations: 325.8 kB / 0.5221 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.348, allocations: 83.14 kB / 0.5222 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.3481, allocations: 35.14 kB / 0.5222 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3481, allocations: 5.281 kB / 0.5222 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3481, allocations: 36.41 kB / 0.5222 GB, free: 6.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3481, allocations: 0 / 0.5222 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003824/0.3485, allocations: 123.7 kB / 0.5223 GB, free: 6.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3485, allocations: 52.92 kB / 0.5224 GB, free: 6.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.349, allocations: 191 kB / 0.5226 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.349, allocations: 26.83 kB / 0.5226 GB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.349, allocations: 111.9 kB / 0.5227 GB, free: 6.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3491, allocations: 17.3 kB / 0.5227 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3491, allocations: 25.84 kB / 0.5227 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.3492, allocations: 329.5 kB / 0.5231 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.3493, allocations: 27.42 kB / 0.5231 GB, free: 5.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.3494, allocations: 33.45 kB / 0.5231 GB, free: 5.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3495, allocations: 73.11 kB / 0.5232 GB, free: 5.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3495, allocations: 0 / 0.5232 GB, free: 5.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.3498, allocations: 116.2 kB / 0.5233 GB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3498, allocations: 5.219 kB / 0.5233 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3498, allocations: 0.5625 kB / 0.5233 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3498, allocations: 1.406 kB / 0.5233 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3501, allocations: 31.52 kB / 0.5233 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3501, allocations: 0 / 0.5233 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3502, allocations: 17.36 kB / 0.5234 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.3502, allocations: 2.281 kB / 0.5234 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.474e-05/0.3503, allocations: 123.4 kB / 0.5235 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.3504, allocations: 8.359 kB / 0.5235 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.3504, allocations: 16.52 kB / 0.5235 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3504, allocations: 1.094 kB / 0.5235 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3504, allocations: 1.625 kB / 0.5235 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3504, allocations: 4.703 kB / 0.5235 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.351, allocations: 367.6 kB / 0.5239 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.351, allocations: 0 / 0.5239 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3511, allocations: 11.52 kB / 0.5239 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3511, allocations: 1.281 kB / 0.5239 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3512, allocations: 1.969 kB / 0.5239 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3512, allocations: 4.734 kB / 0.5239 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3512, allocations: 0 / 0.5239 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.3515, allocations: 234 kB / 0.5241 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.3515, allocations: 17.3 kB / 0.5241 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3516, allocations: 6.281 kB / 0.5241 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3518, allocations: 23 kB / 0.5241 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.3518, allocations: 3.531 kB / 0.5241 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3518, allocations: 1.312 kB / 0.5241 GB, free: 5.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003595/0.3522, allocations: 150.1 kB / 0.5243 GB, free: 4.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3522, allocations: 0 / 0.5243 GB, free: 4.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.3527, allocations: 12.56 kB / 0.5243 GB, free: 4.922 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.0005711/0.3532, allocations: 0.7661 MB / 0.525 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3535, allocations: 66.91 kB / 0.5251 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3535, allocations: 1.188 kB / 0.5251 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.3535, allocations: 35.2 kB / 0.5251 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.354, allocations: 28.39 kB / 0.5252 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.357, allocations: 1.783 MB / 0.5269 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3572, allocations: 96.02 kB / 0.527 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3573, allocations: 19.2 kB / 0.527 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.3574, allocations: 27.14 kB / 0.5271 GB, free: 2.711 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3574, allocations: 0 / 0.5271 GB, free: 2.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.3948, allocations: 3.035 MB / 0.53 GB, free: 1.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 1.062 kB / 0.53 GB, free: 1.824 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 & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.SOPDT_overdamped_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.38469857815653] Failed to read output from testmodel.py, exit status != 0: 11.682045908644795 11.700178262 11.351705001000001 Calling exit ...