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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007298/0.007298, allocations: 98.14 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 194.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09273/0.09273, allocations: 22.32 MB / 312.9 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 67.89 kB / 437.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09429, allocations: 54.96 MB / 492.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003199/0.09752, allocations: 2.231 MB / 494.4 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006634/0.09821, allocations: 271.3 kB / 494.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.09837, allocations: 0 / 494.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.09847, allocations: 31.66 kB / 494.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.0988, allocations: 71.41 kB / 494.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.09909, allocations: 63.84 kB / 494.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.09945, allocations: 239 kB / 495.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.09974, allocations: 128.9 kB / 495.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.0999, allocations: 91.64 kB / 495.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1001, allocations: 111.5 kB / 495.4 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1001, allocations: 20 kB / 495.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1003, allocations: 47.97 kB / 495.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.1003, allocations: 39.84 kB / 495.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1004, allocations: 115.3 kB / 495.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1008, allocations: 258.8 kB / 495.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1008, allocations: 0 / 495.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1008, allocations: 0 / 495.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1009, allocations: 0 / 495.9 MB, free: 0.832 MB / 366.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.000925/0.1018, allocations: 0.5181 MB / 496.4 MB, free: 268 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1018, allocations: 8.031 kB / 496.4 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.1019, allocations: 54.73 kB / 496.5 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.102, allocations: 28.78 kB / 496.5 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.1024, allocations: 244 kB / 496.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1024, allocations: 16.7 kB / 496.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1025, allocations: 16.38 kB / 496.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.1028, allocations: 155.7 kB / 496.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1028, allocations: 3.938 kB / 496.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1028, allocations: 4 kB / 496.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1028, allocations: 4 kB / 496.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.1031, allocations: 107.9 kB / 497.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.104, allocations: 0.5507 MB / 497.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1043, allocations: 94.62 kB / 497.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1044, allocations: 40.84 kB / 497.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1044, allocations: 0 / 497.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1044, allocations: 38.56 kB / 497.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1044, allocations: 0 / 497.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001393/0.1058, allocations: 343.2 kB / 498.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1059, allocations: 55.34 kB / 498.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1061, allocations: 223.8 kB / 498.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1062, allocations: 25.7 kB / 498.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.1062, allocations: 152.2 kB / 498.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1063, allocations: 31.73 kB / 498.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1063, allocations: 41.66 kB / 498.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.1065, allocations: 326.8 kB / 498.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.1066, allocations: 35.97 kB / 499 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1067, allocations: 58.5 kB / 499 MB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1069, allocations: 98.48 kB / 499.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1069, allocations: 8 kB / 499.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006495/0.1075, allocations: 198.2 kB / 499.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1076, allocations: 4 kB / 499.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1076, allocations: 4.062 kB / 499.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.1082, allocations: 76.77 kB / 499.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1083, allocations: 27.92 kB / 499.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003952/0.1087, allocations: 0.5718 MB / 0.4883 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1089, allocations: 11.98 kB / 0.4883 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1089, allocations: 4 kB / 0.4883 GB, free: 12.39 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.0001111/0.109, allocations: 129.8 kB / 0.4884 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.109, allocations: 15.91 kB / 0.4885 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.1096, allocations: 218.7 kB / 0.4887 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1097, allocations: 0 / 0.4887 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1097, allocations: 0 / 0.4887 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1097, allocations: 4.375 kB / 0.4887 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.11, allocations: 277.4 kB / 0.4889 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.11, allocations: 0 / 0.4889 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.1101, allocations: 15.98 kB / 0.4889 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.1104, allocations: 72.73 kB / 0.489 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1105, allocations: 8 kB / 0.489 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003398/0.1108, allocations: 0.5602 MB / 0.4896 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1108, allocations: 0 / 0.4896 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.1114, allocations: 296.1 kB / 0.4899 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1114, allocations: 100.9 kB / 0.4899 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1115, allocations: 4 kB / 0.49 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1116, allocations: 0 / 0.49 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1117, allocations: 19.92 kB / 0.49 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1117, allocations: 4.062 kB / 0.49 GB, free: 10.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1118, allocations: 172.6 kB / 0.4901 GB, free: 10.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1118, allocations: 0 / 0.4901 GB, free: 10.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1121, allocations: 47.89 kB / 0.4902 GB, free: 10.34 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.0006353/0.1128, allocations: 0.799 MB / 0.491 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.1132, allocations: 123.3 kB / 0.4911 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1132, allocations: 0 / 0.4911 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1134, allocations: 74.34 kB / 0.4912 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1137, allocations: 32.09 kB / 0.4912 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1168, allocations: 2.103 MB / 0.4932 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1171, allocations: 0.732 MB / 0.494 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.248e-05/0.1172, allocations: 21.55 kB / 0.494 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.1173, allocations: 67.41 kB / 0.494 GB, free: 6.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1173, allocations: 0 / 0.494 GB, free: 6.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1398, allocations: 4.331 MB / 0.4983 GB, free: 2.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.8, allocations: 11.5 kB / 0.4983 GB, free: 2.004 MB / 382.1 MB (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)