Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",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.0009554/0.0009555, allocations: 99.48 kB / 16.98 MB, free: 5.938 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.00106/0.00106, allocations: 188.1 kB / 17.88 MB, free: 5.594 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.396/1.396, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.4577/0.5756, allocations: 143.1 MB / 0.6003 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.583, allocations: 4.383 MB / 0.6046 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.5837, allocations: 19.81 kB / 0.6046 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009429/0.5847, allocations: 258.7 kB / 0.6048 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.5889, allocations: 1.212 MB / 0.606 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.5914, allocations: 0.7485 MB / 0.6067 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.5935, allocations: 0.9712 MB / 0.6077 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.5942, allocations: 350 kB / 0.608 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.5953, allocations: 0.4984 MB / 0.6085 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.5958, allocations: 358.5 kB / 0.6088 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.5959, allocations: 24 kB / 0.6089 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.5991, allocations: 1.147 MB / 0.61 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.5993, allocations: 131.5 kB / 0.6101 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.5996, allocations: 157.3 kB / 0.6103 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.6021, allocations: 1.072 MB / 0.6113 GB, free: 7.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6021, allocations: 0 / 0.6113 GB, free: 7.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6022, allocations: 0 / 0.6113 GB, free: 7.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.6022, allocations: 0 / 0.6113 GB, free: 7.422 MB / 446.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.002534/0.6047, allocations: 1.03 MB / 0.6123 GB, free: 6.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.6048, allocations: 12.03 kB / 0.6123 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.6049, allocations: 82.53 kB / 0.6124 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.6061, allocations: 163 kB / 0.6126 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6071, allocations: 0.56 MB / 0.6131 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.6072, allocations: 36.94 kB / 0.6131 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.6072, allocations: 42.75 kB / 0.6132 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.6082, allocations: 0.5906 MB / 0.6138 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6082, allocations: 0 / 0.6138 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.6083, allocations: 24 kB / 0.6138 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6083, allocations: 11.95 kB / 0.6138 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.609, allocations: 463.6 kB / 0.6142 GB, free: 4.277 MB / 446.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.003268/0.6123, allocations: 2.631 MB / 0.6168 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.6128, allocations: 294.8 kB / 0.6171 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.6133, allocations: 348.6 kB / 0.6174 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.6138, allocations: 330 kB / 0.6177 GB, free: 408 kB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.6138, allocations: 0 / 0.6177 GB, free: 408 kB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.001277/0.6151, allocations: 0.6996 MB / 0.6184 GB, free: 15.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.6153, allocations: 294.7 kB / 0.6187 GB, free: 15.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.6159, allocations: 0.5704 MB / 0.6193 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.616, allocations: 33.7 kB / 0.6193 GB, free: 14.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.6162, allocations: 323.5 kB / 0.6196 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.6164, allocations: 118.4 kB / 0.6197 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.6164, allocations: 12 kB / 0.6197 GB, free: 14.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6166, allocations: 374.7 kB / 0.6201 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.6169, allocations: 149 kB / 0.6202 GB, free: 13.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.6173, allocations: 386.6 kB / 0.6206 GB, free: 13.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.6177, allocations: 241.2 kB / 0.6208 GB, free: 13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6177, allocations: 4 kB / 0.6208 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001013/0.6187, allocations: 0.6433 MB / 0.6215 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009351/0.6197, allocations: 2.214 MB / 0.6236 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6197, allocations: 4.078 kB / 0.6236 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6197, allocations: 12 kB / 0.6236 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.6228, allocations: 403.5 kB / 0.624 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005119/0.6234, allocations: 0.6367 MB / 0.6246 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.6239, allocations: 75.27 kB / 0.6247 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.624, allocations: 51.98 kB / 0.6248 GB, free: 8.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6241, allocations: 4.094 kB / 0.6248 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008986/0.625, allocations: 0.5599 MB / 0.6253 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.625, allocations: 4 kB / 0.6253 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.625, allocations: 8 kB / 0.6253 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.6254, allocations: 123.9 kB / 0.6254 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.6254, allocations: 11.94 kB / 0.6255 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.6259, allocations: 59.52 kB / 0.6255 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.6259, allocations: 56 kB / 0.6256 GB, free: 7.926 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.6264, allocations: 315.1 kB / 0.6259 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.6265, allocations: 63.25 kB / 0.6259 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.6288, allocations: 1.214 MB / 0.6271 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.6288, allocations: 4 kB / 0.6271 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6288, allocations: 0 / 0.6271 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.6288, allocations: 3.984 kB / 0.6271 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.6315, allocations: 2.284 MB / 0.6293 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6315, allocations: 0 / 0.6293 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.6327, allocations: 196 kB / 0.6295 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.6327, allocations: 7.984 kB / 0.6295 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.6327, allocations: 24 kB / 0.6296 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003561/0.6331, allocations: 0.5978 MB / 0.6301 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6331, allocations: 7.938 kB / 0.6302 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6341, allocations: 0.8369 MB / 0.631 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.6343, allocations: 148.3 kB / 0.6311 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6345, allocations: 12 kB / 0.6311 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.6348, allocations: 27.89 kB / 0.6312 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.6349, allocations: 51.91 kB / 0.6312 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.635, allocations: 31.98 kB / 0.6312 GB, free: 1.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005709/0.6356, allocations: 407.1 kB / 0.6316 GB, free: 1.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6356, allocations: 0 / 0.6316 GB, free: 1.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001549/0.6371, allocations: 487.5 kB / 0.6321 GB, free: 0.75 MB / 462.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/0.64, allocations: 2.506 MB / 0.6345 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005512/0.6455, allocations: 1.222 MB / 0.6357 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6455, allocations: 0 / 0.6357 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.6471, allocations: 441.1 kB / 0.6361 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6488, allocations: 310.3 kB / 0.6364 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.6556, allocations: 7.236 MB / 0.6435 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.6561, allocations: 0.9032 MB / 0.6444 GB, free: 3.789 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002139/0.6583, allocations: 1.016 MB / 0.6454 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.6588, allocations: 283.3 kB / 0.6457 GB, free: 2.504 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6588, allocations: 0 / 0.6457 GB, free: 2.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.7035, allocations: 22.02 MB / 0.6672 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.7038, allocations: 274.3 kB / 0.6674 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.154, allocations: 0 / 0.6674 GB, free: 12.44 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)