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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1958/0.1958, allocations: 22.35 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.91 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2586, allocations: 54.94 MB / 436.6 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.002811/0.2615, allocations: 2.221 MB / 438.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000522/0.262, allocations: 280.7 kB / 439.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.2621, allocations: 0 / 439.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.2622, allocations: 32.67 kB / 439.1 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.2624, allocations: 65.56 kB / 439.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2626, allocations: 57.3 kB / 439.2 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.2628, allocations: 240.9 kB / 439.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.263, allocations: 127.7 kB / 439.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.2631, allocations: 90.52 kB / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2632, allocations: 110.8 kB / 439.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.2633, allocations: 20.69 kB / 439.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.2634, allocations: 54.61 kB / 439.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.2634, allocations: 40.33 kB / 439.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.2635, allocations: 116.7 kB / 440 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2637, allocations: 235.6 kB / 440.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2637, allocations: 4 kB / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2637, allocations: 0 / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2637, allocations: 0 / 440.3 MB, free: 37.59 MB / 350.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.000615/0.2643, allocations: 0.5168 MB / 440.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2644, allocations: 8.844 kB / 440.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.2644, allocations: 47.97 kB / 440.8 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.2645, allocations: 28.09 kB / 440.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2647, allocations: 249.4 kB / 441.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2647, allocations: 12.58 kB / 441.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2648, allocations: 18.81 kB / 441.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.265, allocations: 162.4 kB / 441.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.265, allocations: 3.938 kB / 441.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2651, allocations: 6.875 kB / 441.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2651, allocations: 6.75 kB / 441.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.2653, allocations: 106.3 kB / 441.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.266, allocations: 0.5439 MB / 441.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2662, allocations: 88.91 kB / 442 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.2663, allocations: 45.89 kB / 442.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.2664, allocations: 4 kB / 442.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2664, allocations: 33.7 kB / 442.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.2664, allocations: 6.609 kB / 442.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001296/0.2677, allocations: 343 kB / 442.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.2677, allocations: 51.41 kB / 442.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.2679, allocations: 227.8 kB / 442.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2679, allocations: 25.7 kB / 442.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.268, allocations: 156.5 kB / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.268, allocations: 32.11 kB / 442.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.268, allocations: 30.09 kB / 443 MB, free: 35.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.2681, allocations: 329.3 kB / 443.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.2682, allocations: 33.58 kB / 443.3 MB, free: 35.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.2683, allocations: 62 kB / 443.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.2685, allocations: 98.53 kB / 443.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2685, allocations: 0 / 443.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005944/0.2691, allocations: 208.4 kB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2691, allocations: 5.812 kB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2691, allocations: 2.75 kB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.2697, allocations: 76.58 kB / 443.8 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2698, allocations: 24.5 kB / 443.8 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002715/0.2701, allocations: 0.5618 MB / 444.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2702, allocations: 17.69 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2703, allocations: 10.34 kB / 444.4 MB, free: 34.44 MB / 350.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 7.725e-05/0.2703, allocations: 126.5 kB / 444.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.2704, allocations: 13.5 kB / 444.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.2709, allocations: 221.1 kB / 444.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.271, allocations: 2.719 kB / 444.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.271, allocations: 0 / 444.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.271, allocations: 3.938 kB / 444.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.2712, allocations: 269.3 kB / 445 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2712, allocations: 0 / 445 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.2713, allocations: 21.73 kB / 445 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.2717, allocations: 68.75 kB / 445.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2717, allocations: 10.94 kB / 445.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002273/0.2719, allocations: 0.563 MB / 445.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2719, allocations: 0 / 445.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.2724, allocations: 292.3 kB / 446 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2725, allocations: 106.2 kB / 446.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2725, allocations: 0 / 446.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2726, allocations: 6.875 kB / 446.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.2727, allocations: 12.64 kB / 446.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2727, allocations: 6.969 kB / 446.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2728, allocations: 160.1 kB / 446.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2728, allocations: 0 / 446.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2731, allocations: 46.94 kB / 446.3 MB, free: 32.94 MB / 350.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.2736, allocations: 0.7969 MB / 447.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.274, allocations: 126.5 kB / 447.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.274, allocations: 0 / 447.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2742, allocations: 69.55 kB / 447.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.2746, allocations: 25.12 kB / 447.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.2772, allocations: 2.107 MB / 449.4 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.2773, allocations: 0.7327 MB / 450.1 MB, free: 29.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.712e-05/0.2774, allocations: 25.12 kB / 450.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.2775, allocations: 64.22 kB / 450.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2775, allocations: 0 / 450.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.2974, allocations: 4.24 MB / 454.5 MB, free: 29.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.8, allocations: 19.58 kB / 454.5 MB, free: 29.3 MB / 350.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)