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.0008106/0.0008106, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.000893/0.000893, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 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.9192/0.9192, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.06162/0.06162, allocations: 18.12 MB / 278.1 MB, free: 11.54 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 412.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.932e-05, allocations: 2.984 kB / 412.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002162/0.002191, allocations: 1.47 MB / 414.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.003009, allocations: 0.4999 MB / 414.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.675e-05/0.003076, allocations: 1.375 kB / 414.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.003366, allocations: 18.86 kB / 414.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.003475, allocations: 24.62 kB / 414.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.003699, allocations: 72.48 kB / 414.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.003865, allocations: 86.77 kB / 414.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.003998, allocations: 10.45 kB / 414.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.004074, allocations: 43.42 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004182, allocations: 48.83 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.004208, allocations: 7.156 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.004221, allocations: 7.125 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.004289, allocations: 32.81 kB / 415 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.004325, allocations: 25.47 kB / 415 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004461, allocations: 85.61 kB / 415.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.004466, allocations: 0.7031 kB / 415.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.004468, allocations: 1.344 kB / 415.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.004473, allocations: 0 / 415.1 MB, free: 12.46 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.0006589/0.005132, allocations: 370.4 kB / 415.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.005178, allocations: 10.36 kB / 415.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.005236, allocations: 37.86 kB / 415.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.005268, allocations: 15.3 kB / 415.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.005547, allocations: 186.1 kB / 415.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.005558, allocations: 3.188 kB / 415.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.005578, allocations: 3.188 kB / 415.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.005709, allocations: 80.05 kB / 415.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005719, allocations: 192 / 415.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.005729, allocations: 5.219 kB / 415.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005736, allocations: 3.531 kB / 415.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.005831, allocations: 52.69 kB / 415.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.006273, allocations: 335 kB / 416.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.006403, allocations: 78.86 kB / 416.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.006451, allocations: 39.38 kB / 416.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.006462, allocations: 0 / 416.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.006479, allocations: 32.89 kB / 416.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.00648, allocations: 1.469 kB / 416.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002277/0.006708, allocations: 122.3 kB / 416.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.006734, allocations: 53.39 kB / 416.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.006951, allocations: 195.4 kB / 416.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.006959, allocations: 29.7 kB / 416.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.007, allocations: 108.5 kB / 416.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.007018, allocations: 24.28 kB / 416.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.007053, allocations: 21.95 kB / 416.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.007092, allocations: 321.7 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.00713, allocations: 27.72 kB / 417.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.007168, allocations: 29.7 kB / 417.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/0.007265, allocations: 80.38 kB / 417.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007268, allocations: 0 / 417.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001395/0.007408, allocations: 115.7 kB / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.007426, allocations: 6.156 kB / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007433, allocations: 1.375 kB / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007448, allocations: 0 / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.007595, allocations: 25.98 kB / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.007604, allocations: 0 / 417.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.007674, allocations: 12.94 kB / 417.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007682, allocations: 3.359 kB / 417.5 MB, free: 10.66 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 7.056e-05/0.007753, allocations: 129.9 kB / 417.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.007774, allocations: 9.453 kB / 417.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.007816, allocations: 20.98 kB / 417.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.007819, allocations: 1.375 kB / 417.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.007827, allocations: 0 / 417.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007831, allocations: 0.6562 kB / 417.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.008174, allocations: 359.7 kB / 418 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.008177, allocations: 1.625 kB / 418 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.008234, allocations: 14.97 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008236, allocations: 0.7031 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008247, allocations: 6.312 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.008249, allocations: 8.922 kB / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008252, allocations: 1.062 kB / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.008453, allocations: 225.2 kB / 418.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.008476, allocations: 18.52 kB / 418.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.008495, allocations: 1.766 kB / 418.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.008585, allocations: 17.36 kB / 418.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.008607, allocations: 4.453 kB / 418.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.008612, allocations: 2.031 kB / 418.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.008782, allocations: 160.9 kB / 418.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008782, allocations: 5 kB / 418.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.008941, allocations: 16.72 kB / 418.4 MB, free: 9.918 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 0.0003069/0.009248, allocations: 0.7603 MB / 419.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.009399, allocations: 66.66 kB / 419.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.0094, allocations: 0 / 419.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.009444, allocations: 32.25 kB / 419.3 MB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.009694, allocations: 16.86 kB / 419.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.0112, allocations: 1.784 MB / 421.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.01128, allocations: 97.02 kB / 421.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.01134, allocations: 23.45 kB / 421.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.0114, allocations: 28.66 kB / 421.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0114, allocations: 0 / 421.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.0301, allocations: 3.164 MB / 424.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.184, allocations: 1.281 kB / 424.4 MB, free: 6.75 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.26969559956342] Failed to read output from testmodel.py, exit status != 0: 7.459521086886525 7.28394434 7.277504212 Calling exit ...