Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, 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.2242/0.2242, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002304/0.002304, allocations: 90.02 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1162, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4023/0.5186, allocations: 185.8 MB / 0.6504 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.5228, allocations: 2.126 MB / 0.6524 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.5234, allocations: 19.88 kB / 0.6525 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.5243, allocations: 301.9 kB / 0.6528 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.5276, allocations: 1.174 MB / 0.6539 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.5295, allocations: 0.6697 MB / 0.6546 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.5314, allocations: 1.484 MB / 0.656 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.5321, allocations: 419.5 kB / 0.6564 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/0.5331, allocations: 0.5682 MB / 0.657 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.5336, allocations: 442.2 kB / 0.6574 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.5337, allocations: 51.94 kB / 0.6574 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.5353, allocations: 0.7529 MB / 0.6582 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.5355, allocations: 147.5 kB / 0.6583 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.5359, allocations: 334.5 kB / 0.6586 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.5377, allocations: 1.204 MB / 0.6598 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5377, allocations: 0 / 0.6598 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5377, allocations: 0 / 0.6598 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.5377, allocations: 0 / 0.6598 GB, free: 15.61 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001888/0.5396, allocations: 0.9823 MB / 0.6608 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5397, allocations: 15.97 kB / 0.6608 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.5398, allocations: 86.52 kB / 0.6609 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.5408, allocations: 131.2 kB / 0.661 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.5414, allocations: 444.5 kB / 0.6614 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.5415, allocations: 29 kB / 0.6614 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.5416, allocations: 40 kB / 0.6615 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5426, allocations: 0.5593 MB / 0.662 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5427, allocations: 0 / 0.662 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.5427, allocations: 20 kB / 0.662 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5428, allocations: 8 kB / 0.662 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.5436, allocations: 415.6 kB / 0.6624 GB, free: 12.76 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.003086/0.5467, allocations: 2.584 MB / 0.665 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.5475, allocations: 284.9 kB / 0.6652 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.5478, allocations: 156.7 kB / 0.6654 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.5482, allocations: 352.4 kB / 0.6657 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.5483, allocations: 42.56 kB / 0.6658 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/0.5483, allocations: 0 / 0.6658 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.00247/0.5508, allocations: 0.7101 MB / 0.6665 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.5509, allocations: 136.5 kB / 0.6666 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.5514, allocations: 441.9 kB / 0.667 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.5515, allocations: 33.7 kB / 0.667 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.5517, allocations: 271.7 kB / 0.6673 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5518, allocations: 102.5 kB / 0.6674 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.552, allocations: 101.7 kB / 0.6675 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.5522, allocations: 354.8 kB / 0.6678 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.5527, allocations: 147.9 kB / 0.668 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5532, allocations: 279 kB / 0.6682 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.5542, allocations: 425.5 kB / 0.6686 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5542, allocations: 0 / 0.6686 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001317/0.5555, allocations: 0.5328 MB / 0.6692 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5555, allocations: 8 kB / 0.6692 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5556, allocations: 7.938 kB / 0.6692 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.5577, allocations: 276.7 kB / 0.6694 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.5581, allocations: 105.2 kB / 0.6695 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00099/0.5591, allocations: 0.5992 MB / 0.6701 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.5596, allocations: 43.52 kB / 0.6702 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.5597, allocations: 47.98 kB / 0.6702 GB, free: 4.25 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.56, allocations: 189.7 kB / 0.6704 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.5602, allocations: 47.44 kB / 0.6704 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.5626, allocations: 1.024 MB / 0.6714 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5626, allocations: 4 kB / 0.6714 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5626, allocations: 0 / 0.6714 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5626, allocations: 3.984 kB / 0.6714 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.5645, allocations: 0.9745 MB / 0.6724 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5645, allocations: 0 / 0.6724 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.5648, allocations: 51.91 kB / 0.6725 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.5666, allocations: 260.6 kB / 0.6727 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.5666, allocations: 15.92 kB / 0.6727 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.5676, allocations: 0.5953 MB / 0.6733 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5676, allocations: 3.938 kB / 0.6733 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.569, allocations: 0.5077 MB / 0.6738 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.5692, allocations: 132.4 kB / 0.6739 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5693, allocations: 11.94 kB / 0.6739 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5697, allocations: 23.98 kB / 0.674 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.5698, allocations: 31.78 kB / 0.674 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.5698, allocations: 27.97 kB / 0.674 GB, free: 176 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005327/0.5704, allocations: 382.8 kB / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5704, allocations: 0 / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007537/0.5711, allocations: 219.8 kB / 0.6746 GB, free: 15.58 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.002252/0.5734, allocations: 1.229 MB / 0.6758 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.5748, allocations: 388.3 kB / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5748, allocations: 0 / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.5756, allocations: 155.8 kB / 0.6763 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.5773, allocations: 348.8 kB / 0.6766 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.5855, allocations: 4.815 MB / 0.6813 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.586, allocations: 0.8511 MB / 0.6822 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001371/0.5874, allocations: 0.5432 MB / 0.6827 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.5879, allocations: 218.1 kB / 0.6829 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/0.5879, allocations: 0 / 0.6829 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.6387, allocations: 19.31 MB / 0.7018 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.94, allocations: 4.188 kB / 0.7018 GB, free: 3.777 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_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_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1)