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.00179/0.00179, 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.002198/0.002198, allocations: 212.5 kB / 23.01 MB, free: 4.625 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1081/0.1081, allocations: 24.03 MB / 337.2 MB, free: 11.36 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.00259/0.00259, allocations: 67.91 kB / 474.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3097, allocations: 59.57 MB / 0.5217 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.002973/0.3127, allocations: 2.122 MB / 0.5238 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.3133, allocations: 327.8 kB / 0.5241 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.3134, allocations: 1.344 kB / 0.5241 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.91e-05/0.3135, allocations: 30.62 kB / 0.5241 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.3137, allocations: 71.52 kB / 0.5242 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3139, allocations: 70.36 kB / 0.5242 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3142, allocations: 247.8 kB / 0.5245 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3144, allocations: 102.2 kB / 0.5246 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.471e-05/0.3145, allocations: 95.09 kB / 0.5247 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3146, allocations: 96.86 kB / 0.5248 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.3147, allocations: 18.06 kB / 0.5248 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3148, allocations: 50.73 kB / 0.5248 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3148, allocations: 50.11 kB / 0.5249 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.3149, allocations: 87.22 kB / 0.5249 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3152, allocations: 247.1 kB / 0.5252 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3152, allocations: 1.094 kB / 0.5252 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3152, allocations: 0 / 0.5252 GB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.3152, allocations: 0 / 0.5252 GB, free: 8.34 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.0006579/0.3158, allocations: 457.8 kB / 0.5256 GB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3159, allocations: 14.02 kB / 0.5256 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.3159, allocations: 57.45 kB / 0.5257 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.316, allocations: 27.56 kB / 0.5257 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3162, allocations: 193.6 kB / 0.5259 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3163, allocations: 12.45 kB / 0.5259 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3163, allocations: 18.53 kB / 0.5259 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3166, allocations: 180.7 kB / 0.5261 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3166, allocations: 4.453 kB / 0.5261 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3166, allocations: 10.44 kB / 0.5261 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3166, allocations: 4.188 kB / 0.5261 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.3168, allocations: 111 kB / 0.5262 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.3176, allocations: 478.4 kB / 0.5267 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3179, allocations: 89.33 kB / 0.5268 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.318, allocations: 39.11 kB / 0.5268 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.318, allocations: 2.016 kB / 0.5268 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.318, allocations: 31.69 kB / 0.5268 GB, free: 7.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.318, allocations: 7.875 kB / 0.5268 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001363/0.3194, allocations: 283 kB / 0.5271 GB, free: 6.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.3194, allocations: 52.31 kB / 0.5272 GB, free: 6.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3196, allocations: 217.2 kB / 0.5274 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3196, allocations: 26.73 kB / 0.5274 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3197, allocations: 157.2 kB / 0.5275 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3197, allocations: 40.23 kB / 0.5276 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.3197, allocations: 31.38 kB / 0.5276 GB, free: 6.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.3198, allocations: 324.2 kB / 0.5279 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.3199, allocations: 35.25 kB / 0.528 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.32, allocations: 61.14 kB / 0.528 GB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3201, allocations: 97.06 kB / 0.5281 GB, free: 6.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3201, allocations: 1.312 kB / 0.5281 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000625/0.3208, allocations: 215 kB / 0.5283 GB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3208, allocations: 5.75 kB / 0.5283 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3208, allocations: 0 / 0.5283 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.3214, allocations: 82 kB / 0.5284 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3215, allocations: 24.98 kB / 0.5284 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003069/0.3218, allocations: 0.5743 MB / 0.529 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3219, allocations: 9.328 kB / 0.529 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3219, allocations: 13.45 kB / 0.529 GB, free: 5.43 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.513e-05/0.322, allocations: 126.4 kB / 0.5291 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.3221, allocations: 16 kB / 0.5291 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.3227, allocations: 216.2 kB / 0.5293 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3227, allocations: 2.625 kB / 0.5293 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3227, allocations: 0 / 0.5293 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3227, allocations: 2.703 kB / 0.5294 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3229, allocations: 227.9 kB / 0.5296 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3229, allocations: 5.156 kB / 0.5296 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.323, allocations: 26.61 kB / 0.5296 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.3234, allocations: 65.34 kB / 0.5297 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3234, allocations: 8.734 kB / 0.5297 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002513/0.3237, allocations: 0.5749 MB / 0.5302 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3237, allocations: 384 / 0.5302 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.3242, allocations: 295.8 kB / 0.5305 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.3242, allocations: 27.28 kB / 0.5305 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3243, allocations: 1.188 kB / 0.5305 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3244, allocations: 11.3 kB / 0.5306 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.3244, allocations: 14.58 kB / 0.5306 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3244, allocations: 3.141 kB / 0.5306 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3246, allocations: 159.2 kB / 0.5307 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 0.5307 GB, free: 4.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.3249, allocations: 51.59 kB / 0.5308 GB, free: 4.062 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.0005325/0.3254, allocations: 0.7917 MB / 0.5315 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.3258, allocations: 121.7 kB / 0.5317 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3258, allocations: 0 / 0.5317 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.326, allocations: 71.3 kB / 0.5317 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3264, allocations: 27.91 kB / 0.5318 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.3292, allocations: 2.131 MB / 0.5338 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3293, allocations: 136.1 kB / 0.534 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3294, allocations: 19.02 kB / 0.534 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3295, allocations: 64.2 kB / 0.534 GB, free: 1.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3295, allocations: 0 / 0.534 GB, free: 1.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3615, allocations: 4.826 MB / 0.5388 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.27, allocations: 10.55 kB / 0.5388 GB, free: 0.4922 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_centrifugal_pump_001_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.02818211214617] Failed to read output from testmodel.py, exit status != 0: 13.395730615593493 13.422462496 13.102405954 Calling exit ...