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.001553/0.001553, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2304/0.2304, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002301/0.002301, allocations: 89.48 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.415/0.5288, allocations: 186 MB / 0.6506 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.5347, allocations: 3.259 MB / 0.6538 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008728/0.5357, allocations: 15.88 kB / 0.6538 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5368, allocations: 321.8 kB / 0.6541 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.5409, allocations: 1.392 MB / 0.6555 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.543, allocations: 0.7374 MB / 0.6562 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.5452, allocations: 1.559 MB / 0.6577 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.5458, allocations: 431.5 kB / 0.6581 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009951/0.5468, allocations: 0.58 MB / 0.6587 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006094/0.5475, allocations: 462.1 kB / 0.6591 GB, free: 312 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.5476, allocations: 52 kB / 0.6592 GB, free: 260 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.55, allocations: 1.154 MB / 0.6603 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.5502, allocations: 163.5 kB / 0.6604 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.5506, allocations: 346.5 kB / 0.6608 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.5532, allocations: 1.496 MB / 0.6622 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5532, allocations: 0 / 0.6622 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5532, allocations: 0 / 0.6622 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5533, allocations: 4 kB / 0.6622 GB, free: 13.09 MB / 0.4981 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.002047/0.5553, allocations: 1.064 MB / 0.6633 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5554, allocations: 8.031 kB / 0.6633 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.5555, allocations: 86.52 kB / 0.6634 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.5566, allocations: 139.2 kB / 0.6635 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.5573, allocations: 472.5 kB / 0.664 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.5573, allocations: 33 kB / 0.664 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.5574, allocations: 47.88 kB / 0.664 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5585, allocations: 0.5945 MB / 0.6646 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5586, allocations: 0 / 0.6646 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.5586, allocations: 28 kB / 0.6646 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5586, allocations: 12 kB / 0.6647 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009764/0.5596, allocations: 479.6 kB / 0.6651 GB, free: 10.02 MB / 0.4981 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.003235/0.5629, allocations: 2.682 MB / 0.6677 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.5637, allocations: 357.3 kB / 0.6681 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.5641, allocations: 169.3 kB / 0.6682 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.5646, allocations: 441.8 kB / 0.6687 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.5647, allocations: 42.83 kB / 0.6687 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.5647, allocations: 0 / 0.6687 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001887/0.5666, allocations: 0.7303 MB / 0.6694 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/0.5667, allocations: 132.5 kB / 0.6695 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.5673, allocations: 0.4903 MB / 0.67 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.5674, allocations: 37.7 kB / 0.67 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.5676, allocations: 275.8 kB / 0.6703 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.5678, allocations: 122.3 kB / 0.6704 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.568, allocations: 106 kB / 0.6705 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5682, allocations: 358.8 kB / 0.6709 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.5685, allocations: 144.8 kB / 0.671 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.569, allocations: 287.7 kB / 0.6713 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.5698, allocations: 437.7 kB / 0.6717 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5698, allocations: 0 / 0.6717 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/0.5709, allocations: 0.552 MB / 0.6722 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.571, allocations: 8.375 kB / 0.6722 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.571, allocations: 8.5 kB / 0.6723 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.5726, allocations: 236.5 kB / 0.6725 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.573, allocations: 107.8 kB / 0.6726 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005156/0.5735, allocations: 0.5914 MB / 0.6732 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.5739, allocations: 52.31 kB / 0.6732 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.574, allocations: 52.05 kB / 0.6733 GB, free: 1.105 MB / 0.4981 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.0003018/0.5743, allocations: 177.7 kB / 0.6734 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5744, allocations: 51.44 kB / 0.6735 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.5767, allocations: 1.098 MB / 0.6746 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5767, allocations: 4 kB / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5767, allocations: 0 / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5767, allocations: 3.984 kB / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.5783, allocations: 1.034 MB / 0.6756 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5783, allocations: 0 / 0.6756 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.5786, allocations: 51.97 kB / 0.6756 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/0.5818, allocations: 448.3 kB / 0.676 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.5819, allocations: 15.94 kB / 0.6761 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005001/0.5824, allocations: 0.5992 MB / 0.6766 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.5824, allocations: 4.031 kB / 0.6767 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.5833, allocations: 0.5239 MB / 0.6772 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.5835, allocations: 132.4 kB / 0.6773 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5836, allocations: 23.95 kB / 0.6773 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.5839, allocations: 15.98 kB / 0.6773 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.584, allocations: 27.92 kB / 0.6774 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.5841, allocations: 19.98 kB / 0.6774 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005461/0.5846, allocations: 418.8 kB / 0.6778 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5846, allocations: 0 / 0.6778 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008396/0.5855, allocations: 283.8 kB / 0.678 GB, free: 12.02 MB / 0.5137 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.001928/0.5874, allocations: 1.331 MB / 0.6793 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009243/0.5883, allocations: 391.5 kB / 0.6797 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5883, allocations: 0 / 0.6797 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.5887, allocations: 173.3 kB / 0.6799 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.5905, allocations: 361.8 kB / 0.6802 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/0.5975, allocations: 5.081 MB / 0.6852 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.598, allocations: 0.8596 MB / 0.686 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001267/0.5993, allocations: 0.5545 MB / 0.6866 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.5997, allocations: 231.3 kB / 0.6868 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.5998, allocations: 0 / 0.6868 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2267/0.8265, allocations: 21.47 MB / 0.7078 GB, free: 199.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.95, allocations: 10.77 kB / 0.7078 GB, free: 199.6 MB / 0.5294 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)