Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000731/0.000731, allocations: 96.02 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008913/0.0008914, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1805/0.1805, allocations: 46.17 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09765, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.3574/0.4551, allocations: 175.3 MB / 0.643 GB, free: 5.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.4609, allocations: 3.881 MB / 0.6468 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.4616, allocations: 15.88 kB / 0.6468 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.4625, allocations: 276.8 kB / 0.6471 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.4658, allocations: 1.19 MB / 0.6483 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.4681, allocations: 0.9451 MB / 0.6492 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.4702, allocations: 2 MB / 0.6511 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.4708, allocations: 353.4 kB / 0.6515 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009889/0.4718, allocations: 0.5251 MB / 0.652 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.4726, allocations: 485.9 kB / 0.6524 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4727, allocations: 24 kB / 0.6525 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.4748, allocations: 1.189 MB / 0.6536 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.475, allocations: 147.3 kB / 0.6538 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.4754, allocations: 364 kB / 0.6541 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.4775, allocations: 1.519 MB / 0.6556 GB, free: 8.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.4775, allocations: 4 kB / 0.6556 GB, free: 8.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4775, allocations: 0 / 0.6556 GB, free: 8.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4775, allocations: 0 / 0.6556 GB, free: 8.348 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001764/0.4793, allocations: 1.022 MB / 0.6566 GB, free: 7.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4793, allocations: 15.97 kB / 0.6566 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.4795, allocations: 86.52 kB / 0.6567 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4806, allocations: 159.1 kB / 0.6569 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.4815, allocations: 0.5713 MB / 0.6574 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.4815, allocations: 37 kB / 0.6574 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.4816, allocations: 40 kB / 0.6575 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.4826, allocations: 0.597 MB / 0.6581 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4826, allocations: 7.938 kB / 0.6581 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.4827, allocations: 20 kB / 0.6581 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.4827, allocations: 12 kB / 0.6581 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.4834, allocations: 467.6 kB / 0.6585 GB, free: 5.184 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.4864, allocations: 2.627 MB / 0.6611 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.4869, allocations: 287 kB / 0.6614 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.4872, allocations: 173.1 kB / 0.6616 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.4875, allocations: 344.5 kB / 0.6619 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.4879, allocations: 347 kB / 0.6622 GB, free: 1.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.488, allocations: 3.938 kB / 0.6622 GB, free: 1.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001084/0.489, allocations: 0.6193 MB / 0.6628 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.4892, allocations: 298.7 kB / 0.6631 GB, free: 140 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.4898, allocations: 0.5665 MB / 0.6637 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.4899, allocations: 41.64 kB / 0.6637 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4901, allocations: 331.4 kB / 0.664 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4902, allocations: 118.4 kB / 0.6641 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.4903, allocations: 49.69 kB / 0.6642 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4904, allocations: 370.7 kB / 0.6645 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.4907, allocations: 157 kB / 0.6647 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.4911, allocations: 390.6 kB / 0.6651 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.4918, allocations: 0.5675 MB / 0.6656 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4919, allocations: 0 / 0.6656 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001024/0.4929, allocations: 0.6543 MB / 0.6662 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.4931, allocations: 287.7 kB / 0.6665 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4931, allocations: 8 kB / 0.6665 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4931, allocations: 8 kB / 0.6665 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.4965, allocations: 395.5 kB / 0.6669 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/0.4969, allocations: 0.6289 MB / 0.6675 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.4974, allocations: 75.27 kB / 0.6676 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.4975, allocations: 51.98 kB / 0.6676 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.4975, allocations: 6.656 kB / 0.6677 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009174/0.4984, allocations: 0.56 MB / 0.6682 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4985, allocations: 12.03 kB / 0.6682 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.4985, allocations: 8 kB / 0.6682 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.4989, allocations: 123.8 kB / 0.6683 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.4989, allocations: 12.64 kB / 0.6683 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.4993, allocations: 75.42 kB / 0.6684 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.4994, allocations: 48 kB / 0.6685 GB, free: 10.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (55): * Single equations (assignments): 53 * 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.0003398/0.4997, allocations: 315.1 kB / 0.6688 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4998, allocations: 71.19 kB / 0.6688 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.502, allocations: 1.189 MB / 0.67 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.502, allocations: 4 kB / 0.67 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.502, allocations: 3.938 kB / 0.67 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.502, allocations: 11.86 kB / 0.67 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.5043, allocations: 2.289 MB / 0.6723 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5044, allocations: 4.031 kB / 0.6723 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.5055, allocations: 191.8 kB / 0.6724 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5056, allocations: 4 kB / 0.6724 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.5056, allocations: 27.98 kB / 0.6725 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003311/0.506, allocations: 0.6094 MB / 0.6731 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.506, allocations: 4 kB / 0.6731 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.5068, allocations: 0.7054 MB / 0.6738 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.507, allocations: 160.1 kB / 0.6739 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5071, allocations: 16 kB / 0.6739 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.5075, allocations: 31.92 kB / 0.674 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.5076, allocations: 43.89 kB / 0.674 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.5077, allocations: 39.98 kB / 0.674 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004772/0.5082, allocations: 447 kB / 0.6745 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5082, allocations: 0 / 0.6745 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001248/0.5094, allocations: 483.5 kB / 0.6749 GB, free: 3.246 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.002133/0.5116, allocations: 1.614 MB / 0.6765 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005735/0.5173, allocations: 1.21 MB / 0.6777 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5173, allocations: 4 kB / 0.6777 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.5191, allocations: 441.1 kB / 0.6781 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5211, allocations: 349.9 kB / 0.6784 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.5284, allocations: 5.873 MB / 0.6842 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5288, allocations: 0.8878 MB / 0.685 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002016/0.5308, allocations: 1.018 MB / 0.686 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.5313, allocations: 283.2 kB / 0.6863 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5313, allocations: 4 kB / 0.6863 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.571, allocations: 23.24 MB / 0.709 GB, free: 220 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1735/0.7445, allocations: 302 kB / 0.7093 GB, free: 204.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.122, allocations: 1.5 kB / 0.7093 GB, free: 204.3 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)