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.001384/0.001384, 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.001116/0.001115, allocations: 195.9 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.193/0.193, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 63.89 kB / 381.6 MB, free: 9.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2346, allocations: 54.95 MB / 436.6 MB, free: 40.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.002868/0.2375, allocations: 2.223 MB / 438.8 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006157/0.2382, allocations: 274.2 kB / 439.1 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2383, allocations: 2.344 kB / 439.1 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.685e-05/0.2384, allocations: 27.89 kB / 439.1 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.2386, allocations: 69.47 kB / 439.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.2388, allocations: 55.88 kB / 439.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2389, allocations: 247 kB / 439.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2391, allocations: 122.1 kB / 439.6 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.2392, allocations: 97.17 kB / 439.7 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2393, allocations: 110.2 kB / 439.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2394, allocations: 23.31 kB / 439.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.2395, allocations: 53.08 kB / 439.9 MB, free: 38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.2395, allocations: 46.97 kB / 439.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.2396, allocations: 110 kB / 440 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2398, allocations: 235.8 kB / 440.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2398, allocations: 0 / 440.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2398, allocations: 3.375 kB / 440.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2398, allocations: 0 / 440.2 MB, free: 37.81 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.0005773/0.2404, allocations: 0.518 MB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2404, allocations: 10.22 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2405, allocations: 47.27 kB / 440.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2405, allocations: 24.22 kB / 440.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.2407, allocations: 252.4 kB / 441.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2408, allocations: 16.48 kB / 441.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.2408, allocations: 15.5 kB / 441.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.241, allocations: 156.7 kB / 441.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2411, allocations: 11.88 kB / 441.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2411, allocations: 7.031 kB / 441.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2411, allocations: 11.86 kB / 441.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.2413, allocations: 103.7 kB / 441.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.242, allocations: 0.5406 MB / 441.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2422, allocations: 91.72 kB / 442 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.2423, allocations: 40.02 kB / 442.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2423, allocations: 0 / 442.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2424, allocations: 37.94 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.2424, allocations: 3.938 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001261/0.2436, allocations: 343.3 kB / 442.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.2437, allocations: 51.41 kB / 442.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2438, allocations: 225.1 kB / 442.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2438, allocations: 29.45 kB / 442.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.2439, allocations: 149.7 kB / 442.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.2439, allocations: 33.78 kB / 442.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.244, allocations: 38.23 kB / 443 MB, free: 35.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.244, allocations: 331.7 kB / 443.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.2441, allocations: 34.25 kB / 443.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.2442, allocations: 55.2 kB / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.2444, allocations: 101.7 kB / 443.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2444, allocations: 4 kB / 443.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005764/0.245, allocations: 198.6 kB / 443.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.245, allocations: 6 kB / 443.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.245, allocations: 7 kB / 443.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.2456, allocations: 71.09 kB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2457, allocations: 20.56 kB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002722/0.246, allocations: 0.5743 MB / 444.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2461, allocations: 17.12 kB / 444.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2461, allocations: 2.781 kB / 444.4 MB, free: 34.65 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 9.131e-05/0.2462, allocations: 128.6 kB / 444.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.2463, allocations: 13.78 kB / 444.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/0.2468, allocations: 218.7 kB / 444.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2469, allocations: 6.875 kB / 444.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2469, allocations: 4 kB / 444.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2469, allocations: 0 / 444.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.2471, allocations: 270.4 kB / 445 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2471, allocations: 0 / 445 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.2472, allocations: 21.55 kB / 445 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.2475, allocations: 66.14 kB / 445.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2475, allocations: 4 kB / 445.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002173/0.2478, allocations: 0.5673 MB / 445.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2478, allocations: 0 / 445.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.2483, allocations: 294.7 kB / 445.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.2483, allocations: 102.2 kB / 446 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.2483, allocations: 4 kB / 446 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2485, allocations: 2.719 kB / 446 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2485, allocations: 12.58 kB / 446.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.2485, allocations: 11.22 kB / 446.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.215e-05/0.2486, allocations: 161.1 kB / 446.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2486, allocations: 0 / 446.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.2489, allocations: 45.19 kB / 446.3 MB, free: 33.16 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.0004583/0.2494, allocations: 0.7986 MB / 447.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2497, allocations: 122.2 kB / 447.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2497, allocations: 0 / 447.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2499, allocations: 68.14 kB / 447.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2503, allocations: 37.19 kB / 447.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.2527, allocations: 2.109 MB / 449.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2528, allocations: 0.7366 MB / 450.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.2529, allocations: 19.88 kB / 450.2 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.253, allocations: 64.7 kB / 450.2 MB, free: 30.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.253, allocations: 0 / 450.2 MB, free: 30.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2018/0.4548, allocations: 4.226 MB / 454.4 MB, free: 29.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.25, allocations: 25.98 kB / 454.5 MB, free: 29.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_centrifugal_pump_001_fmu --startTime=0 --stopTime=100 --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)