Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2251/0.2251, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 83.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3527, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2346/0.5873, allocations: 186 MB / 0.7122 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006158/0.5935, allocations: 3.26 MB / 0.7154 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007255/0.5943, allocations: 15.88 kB / 0.7154 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.5955, allocations: 325.8 kB / 0.7158 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.5998, allocations: 1.395 MB / 0.7171 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.6019, allocations: 0.7303 MB / 0.7178 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3388/0.9407, allocations: 1.557 MB / 0.7194 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.9421, allocations: 430.7 kB / 0.7198 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.9441, allocations: 0.5804 MB / 0.7203 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.9454, allocations: 464.2 kB / 0.7208 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.9457, allocations: 52.47 kB / 0.7208 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.9497, allocations: 1.199 MB / 0.722 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.9501, allocations: 160.2 kB / 0.7221 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000719/0.9508, allocations: 347.6 kB / 0.7225 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.9546, allocations: 1.513 MB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9547, allocations: 0.75 kB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9547, allocations: 0.6875 kB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.9547, allocations: 1.094 kB / 0.724 GB, free: 3.25 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002685/0.9574, allocations: 1.086 MB / 0.725 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9574, allocations: 10.47 kB / 0.725 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.9576, allocations: 84.62 kB / 0.7251 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.9591, allocations: 146 kB / 0.7252 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.9602, allocations: 499.8 kB / 0.7257 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.9602, allocations: 30.44 kB / 0.7258 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.9603, allocations: 43.12 kB / 0.7258 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.9618, allocations: 0.5937 MB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.9618, allocations: 0.9688 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.9619, allocations: 20.75 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.9619, allocations: 11.81 kB / 0.7264 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.963, allocations: 484.9 kB / 0.7269 GB, free: 18.15 MB / 0.5762 GB 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.002992/0.966, allocations: 2.67 MB / 0.7295 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.9667, allocations: 356.7 kB / 0.7298 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.9669, allocations: 174.1 kB / 0.73 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.9674, allocations: 439.7 kB / 0.7304 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.9674, allocations: 38.56 kB / 0.7304 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.9674, allocations: 0.9688 kB / 0.7304 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001595/0.969, allocations: 0.7267 MB / 0.7311 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9691, allocations: 135.9 kB / 0.7313 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.9696, allocations: 499.5 kB / 0.7318 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.9697, allocations: 36.11 kB / 0.7318 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.9698, allocations: 284.3 kB / 0.7321 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.9699, allocations: 127.5 kB / 0.7322 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.9701, allocations: 101.2 kB / 0.7323 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9703, allocations: 366.3 kB / 0.7326 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.9706, allocations: 155.5 kB / 0.7328 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.9709, allocations: 279.5 kB / 0.733 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.9715, allocations: 440 kB / 0.7335 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9716, allocations: 3.719 kB / 0.7335 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00095/0.9725, allocations: 0.5508 MB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9726, allocations: 7.531 kB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9726, allocations: 6 kB / 0.734 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.9741, allocations: 235.9 kB / 0.7342 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.9744, allocations: 106.6 kB / 0.7343 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005373/0.975, allocations: 0.6021 MB / 0.7349 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.9754, allocations: 50.66 kB / 0.735 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.9755, allocations: 46.12 kB / 0.735 GB, free: 13.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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 0.000315/0.9759, allocations: 183.5 kB / 0.7352 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.976, allocations: 58.17 kB / 0.7353 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.9777, allocations: 1.089 MB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9777, allocations: 2.906 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.9777, allocations: 2.844 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9777, allocations: 6.094 kB / 0.7363 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.9791, allocations: 1.036 MB / 0.7373 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9792, allocations: 4.797 kB / 0.7373 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.9794, allocations: 50.02 kB / 0.7374 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/0.9826, allocations: 451.7 kB / 0.7378 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.9826, allocations: 16.95 kB / 0.7378 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005117/0.9832, allocations: 0.6069 MB / 0.7384 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9832, allocations: 11.44 kB / 0.7384 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.984, allocations: 0.5062 MB / 0.7389 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.9842, allocations: 140 kB / 0.7391 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.9844, allocations: 20.39 kB / 0.7391 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.9847, allocations: 15.08 kB / 0.7391 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.9848, allocations: 26.66 kB / 0.7391 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.9848, allocations: 22.22 kB / 0.7392 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004904/0.9853, allocations: 421.6 kB / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9853, allocations: 0.875 kB / 0.7396 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001033/0.9863, allocations: 281.6 kB / 0.7398 GB, free: 12.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.9884, allocations: 1.345 MB / 0.7411 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009388/0.9893, allocations: 378.5 kB / 0.7415 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9894, allocations: 1.031 kB / 0.7415 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.9897, allocations: 164.5 kB / 0.7417 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.9915, allocations: 359.2 kB / 0.742 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.9981, allocations: 4.927 MB / 0.7468 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.9986, allocations: 0.8577 MB / 0.7476 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001147/0.9998, allocations: 0.5576 MB / 0.7482 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/1, allocations: 238.8 kB / 0.7484 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1, allocations: 1.094 kB / 0.7484 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/1.053, allocations: 21.67 MB / 0.7696 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.35, allocations: 8.422 kB / 0.7696 GB, free: 4.184 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)