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.001357/0.001357, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.001483/0.001483, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.1116/0.1116, allocations: 24.12 MB / 333 MB, free: 12.62 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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: 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.002051/0.002051, allocations: 59.91 kB / 468.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 59.56 MB / 0.5158 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.002742/0.3612, allocations: 1.873 MB / 0.5176 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000251/0.3615, allocations: 107.5 kB / 0.5177 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.3615, allocations: 1.75 kB / 0.5177 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.3616, allocations: 15.08 kB / 0.5177 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3617, allocations: 28.98 kB / 0.5177 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.724e-05/0.3618, allocations: 25.92 kB / 0.5178 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3619, allocations: 125.3 kB / 0.5179 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3621, allocations: 30.77 kB / 0.5179 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.3621, allocations: 44.59 kB / 0.518 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3622, allocations: 58.88 kB / 0.518 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3622, allocations: 13.69 kB / 0.518 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.3623, allocations: 10.84 kB / 0.518 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.3623, allocations: 23.27 kB / 0.5181 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.3623, allocations: 58.64 kB / 0.5181 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3625, allocations: 121.7 kB / 0.5182 GB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3625, allocations: 0.7031 kB / 0.5182 GB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3625, allocations: 1.375 kB / 0.5182 GB, free: 8.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3625, allocations: 0 / 0.5182 GB, free: 8.457 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004119/0.3629, allocations: 412.4 kB / 0.5186 GB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3629, allocations: 9.625 kB / 0.5186 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.363, allocations: 50.7 kB / 0.5187 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.363, allocations: 14.44 kB / 0.5187 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.3631, allocations: 169.3 kB / 0.5189 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3631, allocations: 9.5 kB / 0.5189 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3631, allocations: 13.06 kB / 0.5189 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3633, allocations: 117.5 kB / 0.519 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3633, allocations: 3.938 kB / 0.519 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3634, allocations: 9.156 kB / 0.519 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3634, allocations: 3.609 kB / 0.519 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3635, allocations: 72.75 kB / 0.5191 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3641, allocations: 0.571 MB / 0.5196 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.3644, allocations: 213.9 kB / 0.5198 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.3645, allocations: 42.38 kB / 0.5199 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3645, allocations: 2.188 kB / 0.5199 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.3645, allocations: 36.23 kB / 0.5199 GB, free: 6.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3645, allocations: 0 / 0.5199 GB, free: 6.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001106/0.3656, allocations: 384.5 kB / 0.5203 GB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.3656, allocations: 54.48 kB / 0.5203 GB, free: 6.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.3657, allocations: 107.9 kB / 0.5204 GB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.3657, allocations: 29.8 kB / 0.5205 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.3657, allocations: 116.7 kB / 0.5206 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3658, allocations: 44.7 kB / 0.5206 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3658, allocations: 26.66 kB / 0.5206 GB, free: 6.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.3658, allocations: 319 kB / 0.5209 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.3659, allocations: 24.09 kB / 0.521 GB, free: 6.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.3659, allocations: 41.17 kB / 0.521 GB, free: 6.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.366, allocations: 75.75 kB / 0.5211 GB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.366, allocations: 1.344 kB / 0.5211 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003861/0.3664, allocations: 181.7 kB / 0.5213 GB, free: 5.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3664, allocations: 10.2 kB / 0.5213 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3664, allocations: 1.312 kB / 0.5213 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.3668, allocations: 87.53 kB / 0.5213 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.3669, allocations: 11.55 kB / 0.5214 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.3687, allocations: 1.914 MB / 0.5232 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3688, allocations: 10.48 kB / 0.5232 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3688, allocations: 3.031 kB / 0.5232 GB, free: 4.125 MB / 382.1 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 7.093e-05/0.3689, allocations: 120.3 kB / 0.5234 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.3689, allocations: 7.734 kB / 0.5234 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.3693, allocations: 188.9 kB / 0.5235 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3693, allocations: 1.281 kB / 0.5235 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.3693, allocations: 1.719 kB / 0.5235 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3693, allocations: 0.6562 kB / 0.5235 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.37, allocations: 492.3 kB / 0.524 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.37, allocations: 0.6094 kB / 0.524 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.37, allocations: 10.44 kB / 0.524 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.3703, allocations: 91.12 kB / 0.5241 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3703, allocations: 1.125 kB / 0.5241 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3719, allocations: 1.915 MB / 0.526 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3719, allocations: 7.875 kB / 0.526 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.3722, allocations: 277.2 kB / 0.5263 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.3723, allocations: 83.41 kB / 0.5263 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3723, allocations: 3.922 kB / 0.5263 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.3723, allocations: 4 kB / 0.5263 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3724, allocations: 8.438 kB / 0.5264 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3724, allocations: 2.312 kB / 0.5264 GB, free: 1.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.3724, allocations: 91.56 kB / 0.5264 GB, free: 1.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 0.5264 GB, free: 1.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.3728, allocations: 40.8 kB / 0.5265 GB, free: 1.383 MB / 382.1 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.0005399/0.3733, allocations: 0.8123 MB / 0.5273 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.3736, allocations: 207.6 kB / 0.5275 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3736, allocations: 0 / 0.5275 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3738, allocations: 194.2 kB / 0.5277 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3741, allocations: 9.25 kB / 0.5277 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.3749, allocations: 323.5 kB / 0.528 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3752, allocations: 0.7031 MB / 0.5287 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.521e-05/0.3753, allocations: 5.328 kB / 0.5287 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3753, allocations: 29.03 kB / 0.5287 GB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3753, allocations: 1.156 kB / 0.5287 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.4069, allocations: 2.879 MB / 0.5315 GB, free: 14.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.35, allocations: 11.89 kB / 0.5315 GB, free: 14.89 MB / 398.1 MB " [Timeout remaining time 648] (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: 15.119428248843178] Failed to read output from testmodel.py, exit status != 0: 12.440247503109276 12.454002301 12.088693813 Calling exit ...