Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008787/0.0008787, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1828/0.1828, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09479, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01561/0.1104, allocations: 17.11 MB / 0.4886 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.1163, allocations: 4.473 MB / 0.4929 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.1168, allocations: 19.81 kB / 0.493 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.1176, allocations: 238.6 kB / 0.4932 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.1191, allocations: 0.688 MB / 0.4939 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.1212, allocations: 0.8677 MB / 0.4947 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.123, allocations: 1.872 MB / 0.4965 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.1235, allocations: 361.5 kB / 0.4969 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.1242, allocations: 0.5018 MB / 0.4974 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.1247, allocations: 454 kB / 0.4978 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.1248, allocations: 28 kB / 0.4978 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1258, allocations: 0.6241 MB / 0.4984 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.126, allocations: 143.4 kB / 0.4986 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.1263, allocations: 344 kB / 0.4989 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1275, allocations: 1.071 MB / 0.4999 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1275, allocations: 4 kB / 0.5 GB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1275, allocations: 0 / 0.5 GB, free: 7.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1275, allocations: 4 kB / 0.5 GB, free: 7.203 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001327/0.1288, allocations: 0.8899 MB / 0.5008 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1289, allocations: 11.97 kB / 0.5008 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.129, allocations: 90.7 kB / 0.5009 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.1293, allocations: 84.12 kB / 0.501 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.1299, allocations: 485.6 kB / 0.5015 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.1299, allocations: 37.38 kB / 0.5015 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.13, allocations: 44.12 kB / 0.5015 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.131, allocations: 0.6573 MB / 0.5022 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.131, allocations: 0 / 0.5022 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.1311, allocations: 24 kB / 0.5022 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1311, allocations: 12 kB / 0.5022 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.1319, allocations: 0.5347 MB / 0.5027 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.1353, allocations: 3.097 MB / 0.5058 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.1357, allocations: 226.6 kB / 0.506 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.136, allocations: 162.9 kB / 0.5061 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1362, allocations: 340.4 kB / 0.5065 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1811/0.3173, allocations: 297.5 kB / 0.5067 GB, free: 42.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.026e-06/0.3174, allocations: 0 / 0.5067 GB, free: 42.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001039/0.3184, allocations: 0.5367 MB / 0.5073 GB, free: 42.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3185, allocations: 298.3 kB / 0.5076 GB, free: 41.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.3191, allocations: 0.5563 MB / 0.5081 GB, free: 41.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.3192, allocations: 32.58 kB / 0.5081 GB, free: 41.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3194, allocations: 337.3 kB / 0.5084 GB, free: 41.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.3194, allocations: 90.33 kB / 0.5085 GB, free: 41.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.3195, allocations: 45.88 kB / 0.5086 GB, free: 41.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.3196, allocations: 369 kB / 0.5089 GB, free: 41.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.3199, allocations: 164.2 kB / 0.5091 GB, free: 41.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.3203, allocations: 389.8 kB / 0.5095 GB, free: 40.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.321, allocations: 0.5548 MB / 0.51 GB, free: 40.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.321, allocations: 2.062 kB / 0.51 GB, free: 40.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009206/0.3219, allocations: 0.6444 MB / 0.5106 GB, free: 40.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.322, allocations: 287.4 kB / 0.5109 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.322, allocations: 6.094 kB / 0.5109 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.322, allocations: 7.938 kB / 0.5109 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.3234, allocations: 199 kB / 0.5111 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003171/0.3237, allocations: 0.6267 MB / 0.5117 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.3242, allocations: 79.83 kB / 0.5118 GB, free: 39.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.3243, allocations: 30.55 kB / 0.5118 GB, free: 39.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-06/0.3243, allocations: 2.969 kB / 0.5118 GB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008308/0.3252, allocations: 0.5661 MB / 0.5124 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3252, allocations: 6.312 kB / 0.5124 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.3252, allocations: 11.47 kB / 0.5124 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3255, allocations: 117.3 kB / 0.5125 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3256, allocations: 12.95 kB / 0.5125 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3259, allocations: 60.95 kB / 0.5126 GB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.326, allocations: 29.69 kB / 0.5126 GB, free: 39.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.3262, allocations: 311.8 kB / 0.5129 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.3263, allocations: 62.86 kB / 0.513 GB, free: 38.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3276, allocations: 0.7771 MB / 0.5137 GB, free: 38.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3276, allocations: 4.406 kB / 0.5137 GB, free: 38.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3276, allocations: 0.6094 kB / 0.5137 GB, free: 38.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3276, allocations: 7.094 kB / 0.5137 GB, free: 38.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.3282, allocations: 0.5402 MB / 0.5143 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3282, allocations: 0 / 0.5143 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.3288, allocations: 123.1 kB / 0.5144 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3288, allocations: 4.219 kB / 0.5144 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3289, allocations: 16.3 kB / 0.5144 GB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001907/0.3291, allocations: 0.5952 MB / 0.515 GB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3291, allocations: 4.141 kB / 0.515 GB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.3298, allocations: 0.5506 MB / 0.5155 GB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.33, allocations: 216 kB / 0.5157 GB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.3301, allocations: 11.47 kB / 0.5157 GB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.3304, allocations: 26.98 kB / 0.5158 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.3304, allocations: 26.11 kB / 0.5158 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3305, allocations: 18.78 kB / 0.5158 GB, free: 37.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004253/0.3309, allocations: 418.5 kB / 0.5162 GB, free: 37.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3309, allocations: 0 / 0.5162 GB, free: 37.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00104/0.332, allocations: 425.5 kB / 0.5166 GB, free: 37.02 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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/0.3334, allocations: 1.329 MB / 0.5179 GB, free: 36.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.3357, allocations: 0.9758 MB / 0.5189 GB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3357, allocations: 0 / 0.5189 GB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009612/0.3367, allocations: 390.4 kB / 0.5192 GB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.338, allocations: 272.4 kB / 0.5195 GB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006122/0.3442, allocations: 5.548 MB / 0.5249 GB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3445, allocations: 0.8903 MB / 0.5258 GB, free: 31.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007259/0.3452, allocations: 213.1 kB / 0.526 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3455, allocations: 234.4 kB / 0.5262 GB, free: 31.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3455, allocations: 0.9375 kB / 0.5262 GB, free: 31.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.376, allocations: 20.29 MB / 0.546 GB, free: 16.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.3762, allocations: 311.7 kB / 0.5463 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.624, allocations: 0 / 0.5463 GB, free: 15.8 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)