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.001902/0.001902, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00241/0.00241, allocations: 218.1 kB / 23.03 MB, free: 4.922 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1039/0.1039, allocations: 22.93 MB / 336.2 MB, free: 12.4 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="cs",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="cs",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.001955/0.001955, allocations: 67.91 kB / 473 MB, free: 7.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 59.29 MB / 0.5198 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003199/0.3143, allocations: 2.122 MB / 0.5219 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.315, allocations: 262.1 kB / 0.5221 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.315, allocations: 6.188 kB / 0.5221 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.471e-05/0.3151, allocations: 25.38 kB / 0.5221 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.3154, allocations: 71.83 kB / 0.5222 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3156, allocations: 69.64 kB / 0.5223 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3159, allocations: 236.8 kB / 0.5225 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3161, allocations: 116.7 kB / 0.5226 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.3162, allocations: 90.03 kB / 0.5227 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3163, allocations: 111.5 kB / 0.5228 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.3164, allocations: 17.47 kB / 0.5228 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3165, allocations: 50.94 kB / 0.5229 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.3165, allocations: 53.14 kB / 0.5229 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.3166, allocations: 85.03 kB / 0.523 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.3169, allocations: 254 kB / 0.5232 GB, free: 8.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3169, allocations: 4 kB / 0.5232 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3169, allocations: 0 / 0.5232 GB, free: 8.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3169, allocations: 0 / 0.5232 GB, free: 8.777 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.0006776/0.3176, allocations: 454.7 kB / 0.5237 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3177, allocations: 10.14 kB / 0.5237 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.3177, allocations: 4.641 kB / 0.5237 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3177, allocations: 48.44 kB / 0.5237 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3178, allocations: 28.8 kB / 0.5238 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3181, allocations: 194.2 kB / 0.524 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3181, allocations: 16.33 kB / 0.524 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3181, allocations: 14.94 kB / 0.524 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3184, allocations: 185.6 kB / 0.5242 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3184, allocations: 0 / 0.5242 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3185, allocations: 6 kB / 0.5242 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3185, allocations: 4.641 kB / 0.5242 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3187, allocations: 105.5 kB / 0.5243 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.3196, allocations: 484.2 kB / 0.5247 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.3198, allocations: 81.23 kB / 0.5248 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3199, allocations: 39.77 kB / 0.5248 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3199, allocations: 4.969 kB / 0.5249 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3199, allocations: 32.62 kB / 0.5249 GB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3199, allocations: 0 / 0.5249 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001384/0.3213, allocations: 283.4 kB / 0.5252 GB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.3213, allocations: 53.44 kB / 0.5252 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3215, allocations: 215.2 kB / 0.5254 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3215, allocations: 25.7 kB / 0.5254 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.3216, allocations: 155.6 kB / 0.5256 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.3216, allocations: 35.59 kB / 0.5256 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3217, allocations: 30.72 kB / 0.5256 GB, free: 7.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.3217, allocations: 332.4 kB / 0.526 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.3218, allocations: 34.66 kB / 0.526 GB, free: 6.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3219, allocations: 54.5 kB / 0.526 GB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3221, allocations: 96.2 kB / 0.5261 GB, free: 6.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3221, allocations: 0 / 0.5261 GB, free: 6.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006389/0.3227, allocations: 209.6 kB / 0.5263 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3227, allocations: 5.188 kB / 0.5263 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3228, allocations: 0 / 0.5263 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.3234, allocations: 80.92 kB / 0.5264 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3235, allocations: 21.94 kB / 0.5264 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002875/0.3238, allocations: 0.5732 MB / 0.527 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3239, allocations: 11.98 kB / 0.527 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.324, allocations: 11.14 kB / 0.527 GB, free: 5.898 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.714e-05/0.324, allocations: 121.8 kB / 0.5271 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.3241, allocations: 19.91 kB / 0.5272 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.3247, allocations: 210.2 kB / 0.5274 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3247, allocations: 5.188 kB / 0.5274 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3247, allocations: 1.188 kB / 0.5274 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3247, allocations: 0 / 0.5274 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3249, allocations: 232.5 kB / 0.5276 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3249, allocations: 3.094 kB / 0.5276 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.325, allocations: 17.59 kB / 0.5276 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.3254, allocations: 67.86 kB / 0.5277 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3254, allocations: 8.016 kB / 0.5277 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002339/0.3256, allocations: 0.5624 MB / 0.5282 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3256, allocations: 7.875 kB / 0.5282 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.3262, allocations: 294.9 kB / 0.5285 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3262, allocations: 23.05 kB / 0.5285 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3262, allocations: 2.156 kB / 0.5285 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3264, allocations: 6.703 kB / 0.5285 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3264, allocations: 9.359 kB / 0.5286 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3264, allocations: 5.031 kB / 0.5286 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3265, allocations: 158.9 kB / 0.5287 GB, free: 4.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3265, allocations: 0 / 0.5287 GB, free: 4.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.3268, allocations: 46.64 kB / 0.5288 GB, free: 4.547 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.0005403/0.3274, allocations: 0.8022 MB / 0.5295 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3278, allocations: 108 kB / 0.5296 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3278, allocations: 1.188 kB / 0.5296 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.328, allocations: 66.45 kB / 0.5297 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3283, allocations: 39.38 kB / 0.5297 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3311, allocations: 2.115 MB / 0.5318 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.3312, allocations: 136.5 kB / 0.5319 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.843e-05/0.3313, allocations: 18.41 kB / 0.532 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.3314, allocations: 63.23 kB / 0.532 GB, free: 2.051 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3314, allocations: 4 kB / 0.532 GB, free: 2.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.3572, allocations: 4.514 MB / 0.5364 GB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.71, allocations: 17.61 kB / 0.5365 GB, free: 1.355 MB / 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 & /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 os._exit(0), Time elapsed: 16.516948831034824] Failed to read output from testmodel.py, exit status != 0: 13.887651072931476 13.915320715 13.592736257 Calling exit ...