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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 111.6 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09825/0.09825, allocations: 22.7 MB / 325.4 MB, free: 3.531 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002993/0.002993, allocations: 67.89 kB / 457.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1217, allocations: 58.02 MB / 0.5038 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003473/0.1252, allocations: 2.231 MB / 0.506 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.1257, allocations: 279.2 kB / 0.5063 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.1258, allocations: 0 / 0.5063 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.311e-05/0.1259, allocations: 31.66 kB / 0.5063 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1261, allocations: 71.41 kB / 0.5064 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1263, allocations: 59.86 kB / 0.5064 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.1266, allocations: 243 kB / 0.5067 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1268, allocations: 112.6 kB / 0.5068 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.1269, allocations: 91.64 kB / 0.5068 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1271, allocations: 115.4 kB / 0.507 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1271, allocations: 16 kB / 0.507 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1272, allocations: 51.97 kB / 0.507 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1273, allocations: 39.84 kB / 0.5071 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1274, allocations: 107.4 kB / 0.5072 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1277, allocations: 254.8 kB / 0.5074 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1277, allocations: 0 / 0.5074 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1277, allocations: 4 kB / 0.5074 GB, free: 3.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1277, allocations: 0 / 0.5074 GB, free: 3.219 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.0008166/0.1286, allocations: 0.5142 MB / 0.5079 GB, free: 2.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1286, allocations: 12.03 kB / 0.5079 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.1287, allocations: 50.73 kB / 0.508 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.1287, allocations: 24.8 kB / 0.508 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1291, allocations: 252 kB / 0.5082 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1291, allocations: 16.64 kB / 0.5083 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1291, allocations: 20.38 kB / 0.5083 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1294, allocations: 147.8 kB / 0.5084 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1294, allocations: 3.938 kB / 0.5084 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1295, allocations: 12 kB / 0.5084 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1295, allocations: 4 kB / 0.5084 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1297, allocations: 99.94 kB / 0.5085 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.1307, allocations: 0.5469 MB / 0.5091 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1309, allocations: 90.61 kB / 0.5091 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.131, allocations: 36.84 kB / 0.5092 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.131, allocations: 4 kB / 0.5092 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.131, allocations: 34.56 kB / 0.5092 GB, free: 1.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.131, allocations: 0 / 0.5092 GB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.00136/0.1324, allocations: 343.2 kB / 0.5095 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1324, allocations: 59.34 kB / 0.5096 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1327, allocations: 219.8 kB / 0.5098 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1327, allocations: 25.7 kB / 0.5098 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1328, allocations: 152.2 kB / 0.51 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1328, allocations: 35.67 kB / 0.51 GB, free: 320 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.1329, allocations: 37.66 kB / 0.5101 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1919/0.3247, allocations: 326.8 kB / 0.5104 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3249, allocations: 29.17 kB / 0.5104 GB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.325, allocations: 65.12 kB / 0.5105 GB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3252, allocations: 90.23 kB / 0.5105 GB, free: 16.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3252, allocations: 0.6562 kB / 0.5105 GB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006975/0.3259, allocations: 203.4 kB / 0.5107 GB, free: 16.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3259, allocations: 5.469 kB / 0.5107 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3259, allocations: 1.344 kB / 0.5107 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.3265, allocations: 79.92 kB / 0.5108 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3267, allocations: 23.52 kB / 0.5108 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002929/0.3269, allocations: 0.5701 MB / 0.5114 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.3271, allocations: 13.27 kB / 0.5114 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3271, allocations: 9.328 kB / 0.5114 GB, free: 15.59 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 9.644e-05/0.3272, allocations: 137.6 kB / 0.5115 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.3272, allocations: 15.2 kB / 0.5116 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.3278, allocations: 212.6 kB / 0.5118 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3278, allocations: 2.25 kB / 0.5118 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3278, allocations: 1.312 kB / 0.5118 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3278, allocations: 1.812 kB / 0.5118 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.328, allocations: 273.8 kB / 0.512 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.328, allocations: 0 / 0.512 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3281, allocations: 19.42 kB / 0.5121 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/0.3285, allocations: 70.61 kB / 0.5121 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3285, allocations: 4.281 kB / 0.5121 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000225/0.3287, allocations: 0.5667 MB / 0.5127 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3287, allocations: 3.188 kB / 0.5127 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.3292, allocations: 287.4 kB / 0.513 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3292, allocations: 108.1 kB / 0.5131 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3293, allocations: 2.344 kB / 0.5131 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3294, allocations: 11.38 kB / 0.5131 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3294, allocations: 7.484 kB / 0.5131 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3294, allocations: 7.531 kB / 0.5131 GB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.3296, allocations: 158.2 kB / 0.5132 GB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3296, allocations: 3.969 kB / 0.5132 GB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3298, allocations: 44.75 kB / 0.5133 GB, free: 14.39 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.0004789/0.3303, allocations: 0.7971 MB / 0.5141 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.3307, allocations: 116.6 kB / 0.5142 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3307, allocations: 0 / 0.5142 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.3308, allocations: 65.14 kB / 0.5142 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3311, allocations: 38.86 kB / 0.5143 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.3337, allocations: 2.108 MB / 0.5163 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.3338, allocations: 0.7376 MB / 0.517 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.929e-05/0.3339, allocations: 20.25 kB / 0.5171 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.334, allocations: 61.05 kB / 0.5171 GB, free: 11.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.334, allocations: 4 kB / 0.5171 GB, free: 11.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3612, allocations: 4.372 MB / 0.5214 GB, free: 11.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.52, allocations: 3.625 kB / 0.5214 GB, free: 11.11 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.101954222656786] Failed to read output from testmodel.py, exit status != 0: 11.611339766997844 11.620960984 11.490799547 Calling exit ...