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.001526/0.001526, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001663/0.001663, allocations: 204.4 kB / 23.01 MB, free: 4.621 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1079/0.1079, allocations: 24.03 MB / 337.2 MB, free: 11.43 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.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.002155/0.002155, allocations: 63.91 kB / 474.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 59.57 MB / 0.5217 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.00335/0.3632, allocations: 2.13 MB / 0.5238 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.3638, allocations: 323.6 kB / 0.5241 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.3639, allocations: 2.125 kB / 0.5241 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.364, allocations: 29.05 kB / 0.5241 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3642, allocations: 71.78 kB / 0.5242 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3645, allocations: 71 kB / 0.5242 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3648, allocations: 246.5 kB / 0.5245 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.365, allocations: 105.9 kB / 0.5246 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.3651, allocations: 96.78 kB / 0.5247 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3652, allocations: 94.95 kB / 0.5248 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.3652, allocations: 18.84 kB / 0.5248 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3653, allocations: 50 kB / 0.5248 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.3654, allocations: 44.89 kB / 0.5249 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.3655, allocations: 88.25 kB / 0.5249 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3657, allocations: 250.5 kB / 0.5252 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3657, allocations: 0 / 0.5252 GB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3657, allocations: 1.281 kB / 0.5252 GB, free: 8.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3657, allocations: 4 kB / 0.5252 GB, free: 8.273 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.0006991/0.3664, allocations: 453.7 kB / 0.5256 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3665, allocations: 11.22 kB / 0.5256 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.3665, allocations: 51.83 kB / 0.5257 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.3666, allocations: 28.12 kB / 0.5257 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3669, allocations: 198.2 kB / 0.5259 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3669, allocations: 11.52 kB / 0.5259 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3669, allocations: 22.53 kB / 0.5259 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.3673, allocations: 181.5 kB / 0.5261 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3673, allocations: 7.875 kB / 0.5261 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3673, allocations: 9.438 kB / 0.5261 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3673, allocations: 3.938 kB / 0.5261 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3675, allocations: 108.8 kB / 0.5262 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.3684, allocations: 485 kB / 0.5267 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.3686, allocations: 85.78 kB / 0.5268 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3687, allocations: 38.7 kB / 0.5268 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3688, allocations: 1.094 kB / 0.5268 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3688, allocations: 33.7 kB / 0.5268 GB, free: 7.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3688, allocations: 0 / 0.5268 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0014/0.3702, allocations: 286.6 kB / 0.5271 GB, free: 6.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.3702, allocations: 52.72 kB / 0.5272 GB, free: 6.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3704, allocations: 216.8 kB / 0.5274 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3704, allocations: 26.77 kB / 0.5274 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3705, allocations: 153.9 kB / 0.5275 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3705, allocations: 38.2 kB / 0.5276 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.3706, allocations: 32.17 kB / 0.5276 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.3707, allocations: 329.5 kB / 0.5279 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.3708, allocations: 33.75 kB / 0.528 GB, free: 6.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3709, allocations: 65.59 kB / 0.528 GB, free: 6.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3711, allocations: 92.3 kB / 0.5281 GB, free: 6.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3711, allocations: 1.188 kB / 0.5281 GB, free: 6.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006357/0.3717, allocations: 216.3 kB / 0.5283 GB, free: 5.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3717, allocations: 5.531 kB / 0.5283 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3717, allocations: 1.094 kB / 0.5283 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.3723, allocations: 81.42 kB / 0.5284 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3725, allocations: 21.75 kB / 0.5284 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000297/0.3727, allocations: 0.5773 MB / 0.529 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3729, allocations: 9.344 kB / 0.529 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3729, allocations: 10.31 kB / 0.529 GB, free: 5.375 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.781e-05/0.373, allocations: 129 kB / 0.5291 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.373, allocations: 16.62 kB / 0.5291 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.3736, allocations: 218.5 kB / 0.5293 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3736, allocations: 1.406 kB / 0.5293 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3736, allocations: 1.5 kB / 0.5294 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3736, allocations: 8.734 kB / 0.5294 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.3739, allocations: 235.1 kB / 0.5296 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3739, allocations: 0 / 0.5296 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.374, allocations: 20.28 kB / 0.5296 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.3743, allocations: 67.17 kB / 0.5297 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3743, allocations: 10.62 kB / 0.5297 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00025/0.3746, allocations: 0.5729 MB / 0.5302 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3746, allocations: 1.5 kB / 0.5302 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.3751, allocations: 287.6 kB / 0.5305 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.3752, allocations: 23.86 kB / 0.5305 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3752, allocations: 9.125 kB / 0.5305 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3753, allocations: 4.062 kB / 0.5305 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3754, allocations: 12.88 kB / 0.5306 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.3754, allocations: 3.594 kB / 0.5306 GB, free: 4.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3755, allocations: 159.3 kB / 0.5307 GB, free: 4.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3755, allocations: 0 / 0.5307 GB, free: 4.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.3758, allocations: 47.42 kB / 0.5308 GB, free: 4.012 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.0005108/0.3763, allocations: 0.7999 MB / 0.5315 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.3768, allocations: 113.3 kB / 0.5316 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3768, allocations: 1.125 kB / 0.5317 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.377, allocations: 66.58 kB / 0.5317 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3773, allocations: 39.86 kB / 0.5318 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.3801, allocations: 2.121 MB / 0.5338 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3802, allocations: 140.1 kB / 0.534 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.3803, allocations: 18.84 kB / 0.534 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.3804, allocations: 66.77 kB / 0.534 GB, free: 1.512 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3804, allocations: 0.7188 kB / 0.534 GB, free: 1.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.4144, allocations: 4.827 MB / 0.5388 GB, free: 452 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.54, allocations: 14.09 kB / 0.5388 GB, free: 448 kB / 382.1 MB " [Timeout remaining time 646] (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.414982605725527] Failed to read output from testmodel.py, exit status != 0: 13.656002989970148 13.683604079 13.3142323 Calling exit ...