Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_centrifugal_pump_001.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.00136/0.00136, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001539/0.001539, allocations: 217.4 kB / 22.25 MB, free: 5.219 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.004 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.1077/0.1077, allocations: 24.12 MB / 336.6 MB, free: 11.45 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_centrifugal_pump_001,fileNamePrefix="AES_AES_Devel_test_models_Test_centrifugal_pump_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_centrifugal_pump_001,fileNamePrefix="AES_AES_Devel_test_models_Test_centrifugal_pump_001",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.003274/0.003274, allocations: 67.89 kB / 474.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3586, allocations: 59.59 MB / 0.5212 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003344/0.3619, allocations: 2.274 MB / 0.5234 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.3627, allocations: 334.2 kB / 0.5237 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3628, allocations: 6.062 kB / 0.5237 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-05/0.3629, allocations: 30.52 kB / 0.5238 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3631, allocations: 74.11 kB / 0.5238 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.3634, allocations: 71.27 kB / 0.5239 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.3637, allocations: 242.9 kB / 0.5241 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3639, allocations: 107.4 kB / 0.5242 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.364, allocations: 95.25 kB / 0.5243 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3642, allocations: 111.2 kB / 0.5244 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3642, allocations: 18.31 kB / 0.5244 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3643, allocations: 51.78 kB / 0.5245 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3644, allocations: 44.39 kB / 0.5245 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.3645, allocations: 113.3 kB / 0.5246 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3648, allocations: 248.2 kB / 0.5249 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3648, allocations: 0 / 0.5249 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3648, allocations: 0 / 0.5249 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3648, allocations: 0 / 0.5249 GB, free: 8.184 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007446/0.3655, allocations: 458.6 kB / 0.5253 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3656, allocations: 9.953 kB / 0.5253 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.3656, allocations: 52.92 kB / 0.5254 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.3657, allocations: 28.31 kB / 0.5254 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.366, allocations: 192.6 kB / 0.5256 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3661, allocations: 12.45 kB / 0.5256 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.3661, allocations: 15.56 kB / 0.5256 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.3664, allocations: 159.3 kB / 0.5258 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3664, allocations: 3.938 kB / 0.5258 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3665, allocations: 8.547 kB / 0.5258 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3665, allocations: 4.984 kB / 0.5258 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.3667, allocations: 110.7 kB / 0.5259 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009324/0.3677, allocations: 0.5101 MB / 0.5264 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3679, allocations: 85.77 kB / 0.5265 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.368, allocations: 38.72 kB / 0.5265 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.368, allocations: 1.969 kB / 0.5265 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3681, allocations: 40.92 kB / 0.5265 GB, free: 6.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3681, allocations: 3.938 kB / 0.5266 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001517/0.3696, allocations: 277.2 kB / 0.5268 GB, free: 6.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.3696, allocations: 54.45 kB / 0.5269 GB, free: 6.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3698, allocations: 216.8 kB / 0.5271 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3698, allocations: 29.64 kB / 0.5271 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.3699, allocations: 160.4 kB / 0.5273 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3699, allocations: 39.72 kB / 0.5273 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3699, allocations: 31.59 kB / 0.5273 GB, free: 6.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.37, allocations: 327.5 kB / 0.5276 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3701, allocations: 31.98 kB / 0.5277 GB, free: 6.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3702, allocations: 54.98 kB / 0.5277 GB, free: 6.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3704, allocations: 101.8 kB / 0.5278 GB, free: 5.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3704, allocations: 0 / 0.5278 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006489/0.371, allocations: 214 kB / 0.528 GB, free: 5.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3711, allocations: 6.375 kB / 0.528 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3711, allocations: 1.281 kB / 0.528 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.3717, allocations: 83.7 kB / 0.5281 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3718, allocations: 20.88 kB / 0.5281 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003092/0.3721, allocations: 0.5728 MB / 0.5287 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3723, allocations: 15.7 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3723, allocations: 4.812 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.3724, allocations: 125.9 kB / 0.5288 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3724, allocations: 20.95 kB / 0.5288 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.373, allocations: 221.6 kB / 0.5291 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.373, allocations: 2.25 kB / 0.5291 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.373, allocations: 0 / 0.5291 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.373, allocations: 0.9375 kB / 0.5291 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3733, allocations: 253.1 kB / 0.5293 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3733, allocations: 0.9375 kB / 0.5293 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3734, allocations: 16.36 kB / 0.5293 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.3738, allocations: 74.53 kB / 0.5294 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3738, allocations: 1.672 kB / 0.5294 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002425/0.374, allocations: 0.5682 MB / 0.5299 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.374, allocations: 5.062 kB / 0.53 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.3746, allocations: 291.5 kB / 0.5302 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.3746, allocations: 31.38 kB / 0.5303 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.3747, allocations: 6.016 kB / 0.5303 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3748, allocations: 6.25 kB / 0.5303 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3749, allocations: 14.36 kB / 0.5303 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3749, allocations: 8.062 kB / 0.5303 GB, free: 4.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.375, allocations: 158.9 kB / 0.5304 GB, free: 3.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.375, allocations: 0 / 0.5304 GB, free: 3.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3753, allocations: 42.11 kB / 0.5305 GB, free: 3.93 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 (11): * Single equations (assignments): 10 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005616/0.3759, allocations: 0.8017 MB / 0.5313 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.3763, allocations: 113.8 kB / 0.5314 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3763, allocations: 1.188 kB / 0.5314 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3765, allocations: 76.19 kB / 0.5314 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3769, allocations: 23.86 kB / 0.5315 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3799, allocations: 2.119 MB / 0.5335 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.38, allocations: 0.7444 MB / 0.5343 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.275e-05/0.3801, allocations: 18.86 kB / 0.5343 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.3802, allocations: 62.31 kB / 0.5343 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3802, allocations: 3.938 kB / 0.5344 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.412, allocations: 4.507 MB / 0.5388 GB, free: 244 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.36, allocations: 9.875 kB / 0.5388 GB, free: 240 kB / 382.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe >> ../files/AES_AES.Devel_test_models.Test_centrifugal_pump_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_centrifugal_pump_001_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 AES_AES_Devel_test_models_Test_centrifugal_pump_001.fmu > AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.301925743005995] Failed to read output from testmodel.py, exit status != 0: 13.47833235199505 13.494507238 13.126052347 Calling exit ...