Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.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.0008856/0.0008856, 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.001661/0.001661, allocations: 165.6 kB / 23.23 MB, free: 1.336 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.9211/0.9211, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06272/0.06272, allocations: 18.13 MB / 278.1 MB, free: 11.52 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.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.641 kB / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.808e-05, allocations: 2.281 kB / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.001752/0.00177, allocations: 1.812 MB / 417.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002006/0.00197, allocations: 97.48 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.002014, allocations: 6.312 kB / 417.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.002057, allocations: 17.39 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.002197, allocations: 40.7 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.801e-05/0.002255, allocations: 23.33 kB / 417.9 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002359, allocations: 131.6 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.002477, allocations: 35.08 kB / 418 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.002515, allocations: 44.44 kB / 418.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.002597, allocations: 37.52 kB / 418.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.002622, allocations: 11.25 kB / 418.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.002637, allocations: 10.97 kB / 418.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.002658, allocations: 23.19 kB / 418.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.002694, allocations: 38.64 kB / 418.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.002826, allocations: 123.7 kB / 418.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.002828, allocations: 0.75 kB / 418.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002829, allocations: 4 kB / 418.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.002833, allocations: 1.375 kB / 418.3 MB, free: 10.8 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0003102/0.003143, allocations: 331.9 kB / 418.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.003176, allocations: 9.328 kB / 418.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.003204, allocations: 46.08 kB / 418.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.00323, allocations: 15.94 kB / 418.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.961e-05/0.003289, allocations: 118.6 kB / 418.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003301, allocations: 10.47 kB / 418.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.003314, allocations: 11.56 kB / 418.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.003463, allocations: 115.7 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.003471, allocations: 192 / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.003482, allocations: 6.422 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.003488, allocations: 7.75 kB / 419 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.003588, allocations: 79.7 kB / 419 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.004009, allocations: 370.9 kB / 419.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.00425, allocations: 130.1 kB / 419.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.0043, allocations: 42.2 kB / 419.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.004318, allocations: 5.344 kB / 419.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.165e-05/0.004329, allocations: 38.84 kB / 419.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.004331, allocations: 0 / 419.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.000631/0.004962, allocations: 303.6 kB / 419.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.00498, allocations: 59.11 kB / 420 MB, free: 9.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.077e-05/0.005021, allocations: 106.9 kB / 420.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.005027, allocations: 27.17 kB / 420.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.005058, allocations: 109.4 kB / 420.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.005075, allocations: 47.28 kB / 420.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.005104, allocations: 26.66 kB / 420.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.348e-05/0.005127, allocations: 319 kB / 420.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.005158, allocations: 28.14 kB / 420.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.005202, allocations: 42.88 kB / 420.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.33e-05/0.005275, allocations: 72.47 kB / 420.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005277, allocations: 5.406 kB / 420.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.005499, allocations: 170 kB / 420.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.00551, allocations: 10.64 kB / 420.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005515, allocations: 0 / 420.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.00574, allocations: 91.28 kB / 421 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.005776, allocations: 10.48 kB / 421 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.006923, allocations: 1.802 MB / 422.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.00695, allocations: 6.328 kB / 422.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.006957, allocations: 2.609 kB / 422.8 MB, free: 7.203 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/0.007013, allocations: 128 kB / 423 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.007029, allocations: 7.984 kB / 423 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.007307, allocations: 193.1 kB / 423.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.007308, allocations: 1.656 kB / 423.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00731, allocations: 2.078 kB / 423.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007313, allocations: 0.8438 kB / 423.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.007686, allocations: 440.2 kB / 423.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007688, allocations: 2.094 kB / 423.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.007717, allocations: 17.36 kB / 423.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.00789, allocations: 90.88 kB / 423.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007897, allocations: 1.312 kB / 423.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009567/0.008853, allocations: 1.79 MB / 425.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008854, allocations: 0 / 425.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.009083, allocations: 277.9 kB / 425.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.009089, allocations: 7.016 kB / 425.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.0091, allocations: 9.094 kB / 425.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.009135, allocations: 1.219 kB / 425.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.00916, allocations: 16.98 kB / 425.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.009165, allocations: 3.828 kB / 425.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.009181, allocations: 89.22 kB / 425.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009181, allocations: 0 / 425.9 MB, free: 4.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.009399, allocations: 41.27 kB / 425.9 MB, free: 4.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.009703, allocations: 0.8056 MB / 426.7 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.009937, allocations: 209.2 kB / 426.9 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009939, allocations: 4.062 kB / 426.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01005, allocations: 177 kB / 427.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01022, allocations: 12.98 kB / 427.1 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.01075, allocations: 330 kB / 427.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.311e-05/0.01081, allocations: 96.55 kB / 427.5 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.01083, allocations: 3.469 kB / 427.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.01087, allocations: 29.09 kB / 427.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01087, allocations: 5.281 kB / 427.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02841, allocations: 3.369 MB / 430.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.799, allocations: 4.094 kB / 430.9 MB, free: 2.34 MB / 330.7 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001a_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_HP_001a.fmu > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.78301927447319] Failed to read output from testmodel.py, exit status != 0: 7.885846575722098 7.895605005 7.890955915 Calling exit ...