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.001823/0.001823, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002221/0.002221, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1025/0.1025, allocations: 22.93 MB / 332.5 MB, free: 2.617 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.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.002061/0.002061, allocations: 59.72 kB / 467.5 MB, free: 31.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09829, allocations: 59.27 MB / 0.5144 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003689/0.102, allocations: 2.254 MB / 0.5166 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.1027, allocations: 279.1 kB / 0.5168 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1028, allocations: 4 kB / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.176e-05/0.1029, allocations: 23.72 kB / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1032, allocations: 75.41 kB / 0.5169 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1035, allocations: 63.88 kB / 0.517 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.1038, allocations: 246.9 kB / 0.5172 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.104, allocations: 100.7 kB / 0.5173 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1042, allocations: 95.58 kB / 0.5174 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1044, allocations: 111.5 kB / 0.5175 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.1044, allocations: 16 kB / 0.5176 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1045, allocations: 47.97 kB / 0.5176 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.1046, allocations: 47.78 kB / 0.5176 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1047, allocations: 111.4 kB / 0.5177 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.105, allocations: 246.9 kB / 0.518 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.105, allocations: 3.938 kB / 0.518 GB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.105, allocations: 0 / 0.518 GB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1051, allocations: 3.938 kB / 0.518 GB, free: 9.562 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.0008573/0.1059, allocations: 0.5181 MB / 0.5185 GB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1059, allocations: 12.61 kB / 0.5185 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.318e-05/0.106, allocations: 8.516 kB / 0.5185 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.106, allocations: 50.73 kB / 0.5186 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.1061, allocations: 28.75 kB / 0.5186 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1064, allocations: 252 kB / 0.5188 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1065, allocations: 12.7 kB / 0.5188 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1065, allocations: 16.38 kB / 0.5189 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1068, allocations: 151.2 kB / 0.519 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1068, allocations: 4 kB / 0.519 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1069, allocations: 12 kB / 0.519 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1069, allocations: 4 kB / 0.519 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.1071, allocations: 103.9 kB / 0.5191 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009746/0.1081, allocations: 0.5314 MB / 0.5196 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1083, allocations: 86.58 kB / 0.5197 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1085, allocations: 36.89 kB / 0.5198 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1085, allocations: 4 kB / 0.5198 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1085, allocations: 34.55 kB / 0.5198 GB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1085, allocations: 0 / 0.5198 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001536/0.11, allocations: 359.1 kB / 0.5201 GB, free: 7.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1101, allocations: 51.41 kB / 0.5202 GB, free: 7.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1103, allocations: 211.2 kB / 0.5204 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1104, allocations: 33.64 kB / 0.5204 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1105, allocations: 156.1 kB / 0.5206 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1106, allocations: 43.67 kB / 0.5206 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.1106, allocations: 33.7 kB / 0.5206 GB, free: 6.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1108, allocations: 326.8 kB / 0.521 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1109, allocations: 31.98 kB / 0.521 GB, free: 6.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.111, allocations: 58.55 kB / 0.521 GB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.1113, allocations: 101.7 kB / 0.5211 GB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1113, allocations: 384 / 0.5211 GB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007043/0.112, allocations: 202.2 kB / 0.5213 GB, free: 5.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.112, allocations: 8 kB / 0.5213 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.112, allocations: 0 / 0.5213 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.1126, allocations: 76.72 kB / 0.5214 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1128, allocations: 27.98 kB / 0.5214 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000472/0.1133, allocations: 0.5718 MB / 0.522 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1134, allocations: 11.89 kB / 0.522 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1134, allocations: 8 kB / 0.522 GB, free: 5.129 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 0.0001449/0.1136, allocations: 125.8 kB / 0.5221 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.1136, allocations: 19.97 kB / 0.5222 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.1143, allocations: 211.6 kB / 0.5224 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1143, allocations: 4.047 kB / 0.5224 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1143, allocations: 3.984 kB / 0.5224 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1143, allocations: 4 kB / 0.5224 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1146, allocations: 269.4 kB / 0.5226 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1146, allocations: 4 kB / 0.5226 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1147, allocations: 19.92 kB / 0.5226 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.1151, allocations: 68.8 kB / 0.5227 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1151, allocations: 0 / 0.5227 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004331/0.1156, allocations: 0.568 MB / 0.5233 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1156, allocations: 3.938 kB / 0.5233 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.1162, allocations: 289.8 kB / 0.5236 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.1163, allocations: 96.97 kB / 0.5236 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1163, allocations: 0 / 0.5236 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1164, allocations: 11.98 kB / 0.5237 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1165, allocations: 11.98 kB / 0.5237 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1165, allocations: 7.938 kB / 0.5237 GB, free: 3.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1166, allocations: 156.6 kB / 0.5238 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 0.5238 GB, free: 3.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1169, allocations: 47.89 kB / 0.5239 GB, free: 3.098 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.0007885/0.1177, allocations: 0.8029 MB / 0.5247 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.1182, allocations: 111.8 kB / 0.5248 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1182, allocations: 0 / 0.5248 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.1184, allocations: 69.44 kB / 0.5248 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1188, allocations: 38.05 kB / 0.5249 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.1222, allocations: 2.105 MB / 0.5269 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1226, allocations: 0.7359 MB / 0.5276 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.212e-05/0.1227, allocations: 25.47 kB / 0.5277 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1228, allocations: 71.34 kB / 0.5277 GB, free: 14.99 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1228, allocations: 0 / 0.5277 GB, free: 14.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.1469, allocations: 4.393 MB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.77, allocations: 11.86 kB / 0.532 GB, free: 10.7 MB / 398.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 os._exit(0), Time elapsed: 15.641020240960643] Failed to read output from testmodel.py, exit status != 0: 12.919049346004613 12.93448465 12.82639584 Calling exit ...