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.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001103/0.001103, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1778/0.1778, allocations: 22.36 MB / 312.4 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 381.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2091, allocations: 54.94 MB / 436 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.002496/0.2116, allocations: 2.445 MB / 438.5 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.212, allocations: 296.5 kB / 438.8 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.2121, allocations: 3.344 kB / 438.8 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.304e-05/0.2122, allocations: 24.27 kB / 438.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.2124, allocations: 51.97 kB / 438.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.2126, allocations: 56.95 kB / 438.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.2128, allocations: 239.6 kB / 439.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2129, allocations: 124.3 kB / 439.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.213, allocations: 94.67 kB / 439.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.2131, allocations: 114.6 kB / 439.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2131, allocations: 16.72 kB / 439.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.2132, allocations: 51.78 kB / 439.5 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.2132, allocations: 48.19 kB / 439.6 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.2133, allocations: 105.6 kB / 439.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2135, allocations: 237.5 kB / 439.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2135, allocations: 2.719 kB / 439.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2135, allocations: 0 / 439.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2135, allocations: 0 / 439.9 MB, free: 37.43 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.0005306/0.214, allocations: 0.518 MB / 440.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2141, allocations: 11.84 kB / 440.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.2141, allocations: 48.89 kB / 440.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2142, allocations: 28.31 kB / 440.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2143, allocations: 250 kB / 440.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2144, allocations: 10.14 kB / 440.8 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.2144, allocations: 18.92 kB / 440.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2146, allocations: 161 kB / 440.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2147, allocations: 3.938 kB / 440.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2147, allocations: 7.031 kB / 441 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2147, allocations: 2.812 kB / 441 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2149, allocations: 102.6 kB / 441.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.2155, allocations: 0.5455 MB / 441.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2157, allocations: 100.8 kB / 441.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.2158, allocations: 40.12 kB / 441.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2158, allocations: 3.031 kB / 441.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.2158, allocations: 30.56 kB / 441.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2159, allocations: 0 / 441.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001207/0.2171, allocations: 348 kB / 442.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/0.2171, allocations: 54.59 kB / 442.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.2172, allocations: 225.5 kB / 442.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2172, allocations: 29.7 kB / 442.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2173, allocations: 153.6 kB / 442.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2173, allocations: 34.78 kB / 442.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.2174, allocations: 36.05 kB / 442.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.2174, allocations: 325 kB / 443 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.2175, allocations: 31.38 kB / 443 MB, free: 35.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.2176, allocations: 59.44 kB / 443 MB, free: 35.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2178, allocations: 99.94 kB / 443.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2178, allocations: 0 / 443.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005496/0.2183, allocations: 207.7 kB / 443.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2183, allocations: 5.719 kB / 443.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.2183, allocations: 0 / 443.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.2189, allocations: 75.58 kB / 443.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.219, allocations: 25.34 kB / 443.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002309/0.2193, allocations: 0.5663 MB / 444 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2194, allocations: 17.09 kB / 444 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2194, allocations: 6.719 kB / 444 MB, free: 34.28 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.634e-05/0.2195, allocations: 130.6 kB / 444.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2195, allocations: 20.44 kB / 444.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.22, allocations: 215.9 kB / 444.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.22, allocations: 0 / 444.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2201, allocations: 0 / 444.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2201, allocations: 0 / 444.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2202, allocations: 278 kB / 444.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2203, allocations: 3.938 kB / 444.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.2204, allocations: 17.94 kB / 444.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.2207, allocations: 64.91 kB / 444.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2207, allocations: 2.812 kB / 444.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001933/0.2209, allocations: 0.5676 MB / 445.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2209, allocations: 0 / 445.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.2214, allocations: 291.3 kB / 445.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.2214, allocations: 102.8 kB / 445.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2214, allocations: 3.062 kB / 445.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2216, allocations: 4 kB / 445.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2216, allocations: 16.55 kB / 445.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2216, allocations: 2.781 kB / 445.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.559e-05/0.2217, allocations: 159.8 kB / 445.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2217, allocations: 0 / 445.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.222, allocations: 46.31 kB / 445.9 MB, free: 32.79 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.000419/0.2224, allocations: 0.7977 MB / 446.7 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.2227, allocations: 122.4 kB / 446.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2227, allocations: 0 / 446.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2229, allocations: 73.16 kB / 446.9 MB, free: 32.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2232, allocations: 42.08 kB / 447 MB, free: 31.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.2255, allocations: 2.186 MB / 449.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.2256, allocations: 0.7354 MB / 449.9 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.539e-05/0.2257, allocations: 18.55 kB / 449.9 MB, free: 29.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.2258, allocations: 67.36 kB / 450 MB, free: 29.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2258, allocations: 0 / 450 MB, free: 29.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.318, allocations: 4.126 MB / 454.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.318, allocations: 217.8 kB / 454.3 MB, free: 28.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.992, allocations: 0 / 454.3 MB, free: 28.94 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)