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.001269/0.001269, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.41 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.2259/0.2259, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002246/0.002246, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2115/0.5293, allocations: 185.8 MB / 0.712 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004071/0.5334, allocations: 2.127 MB / 0.7141 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.534, allocations: 19.88 kB / 0.7141 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.5349, allocations: 301.9 kB / 0.7144 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.538, allocations: 1.173 MB / 0.7156 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5398, allocations: 0.6769 MB / 0.7162 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.5417, allocations: 1.48 MB / 0.7177 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006014/0.5423, allocations: 423.3 kB / 0.7181 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.5432, allocations: 0.5604 MB / 0.7186 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.5437, allocations: 450.2 kB / 0.719 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.5438, allocations: 51.98 kB / 0.7191 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3391/0.8829, allocations: 0.7904 MB / 0.7199 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.8833, allocations: 151 kB / 0.72 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.8842, allocations: 324.5 kB / 0.7203 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.8874, allocations: 1.215 MB / 0.7215 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8874, allocations: 0 / 0.7215 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8874, allocations: 0 / 0.7215 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.8874, allocations: 0 / 0.7215 GB, free: 4.09 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002027/0.8895, allocations: 1.012 MB / 0.7225 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8895, allocations: 9.469 kB / 0.7225 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.292e-05/0.8896, allocations: 82.5 kB / 0.7226 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.8907, allocations: 135.4 kB / 0.7227 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.8915, allocations: 459.5 kB / 0.7232 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.8915, allocations: 34.47 kB / 0.7232 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.8916, allocations: 37.53 kB / 0.7232 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8927, allocations: 0.5549 MB / 0.7238 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.8927, allocations: 1.219 kB / 0.7238 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.8928, allocations: 23.17 kB / 0.7238 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.8928, allocations: 10.88 kB / 0.7238 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.8937, allocations: 408.3 kB / 0.7242 GB, free: 3.043 MB / 0.5606 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.003354/0.8971, allocations: 2.58 MB / 0.7267 GB, free: 17.26 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.8978, allocations: 295.5 kB / 0.727 GB, free: 17.23 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.8981, allocations: 148.2 kB / 0.7271 GB, free: 17.23 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.8986, allocations: 354 kB / 0.7275 GB, free: 16.85 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.8986, allocations: 45.36 kB / 0.7275 GB, free: 16.81 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=29): time 3.276e-06/0.8986, allocations: 1 kB / 0.7275 GB, free: 16.81 MB / 0.5763 GB Notification: Performance of matching and sorting (n=29): time 0.002542/0.9012, allocations: 0.6989 MB / 0.7282 GB, free: 16.65 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9013, allocations: 133 kB / 0.7283 GB, free: 16.49 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.9019, allocations: 450.5 kB / 0.7287 GB, free: 16.38 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.902, allocations: 32.89 kB / 0.7288 GB, free: 16.34 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.9022, allocations: 275.2 kB / 0.729 GB, free: 16.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.9023, allocations: 109.7 kB / 0.7291 GB, free: 16.13 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.9025, allocations: 108.2 kB / 0.7293 GB, free: 16.11 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.9027, allocations: 353.8 kB / 0.7296 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.9031, allocations: 146.4 kB / 0.7297 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.9036, allocations: 277.5 kB / 0.73 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.9044, allocations: 424.6 kB / 0.7304 GB, free: 15.53 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9044, allocations: 5.141 kB / 0.7304 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001221/0.9057, allocations: 0.5269 MB / 0.7309 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.9057, allocations: 7.969 kB / 0.7309 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9057, allocations: 3 kB / 0.7309 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.9077, allocations: 273.3 kB / 0.7312 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.9081, allocations: 106.2 kB / 0.7313 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009566/0.9091, allocations: 0.6009 MB / 0.7319 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.9096, allocations: 52.81 kB / 0.7319 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9098, allocations: 49.69 kB / 0.732 GB, free: 14.9 MB / 0.5763 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.0003479/0.9101, allocations: 182.6 kB / 0.7321 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9103, allocations: 55.77 kB / 0.7322 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.9122, allocations: 1.026 MB / 0.7332 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9122, allocations: 3.594 kB / 0.7332 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9122, allocations: 0 / 0.7332 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9122, allocations: 3.062 kB / 0.7332 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.914, allocations: 0.9716 MB / 0.7342 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.914, allocations: 0 / 0.7342 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.9142, allocations: 53.92 kB / 0.7342 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.9159, allocations: 261.5 kB / 0.7345 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.916, allocations: 14.52 kB / 0.7345 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/0.9169, allocations: 0.609 MB / 0.7351 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9169, allocations: 3 kB / 0.7351 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.9183, allocations: 0.5054 MB / 0.7356 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.9186, allocations: 131.1 kB / 0.7357 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9187, allocations: 14.3 kB / 0.7357 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.9191, allocations: 15.94 kB / 0.7357 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.9192, allocations: 24.28 kB / 0.7357 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.9193, allocations: 23.25 kB / 0.7358 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0005135/0.9198, allocations: 382.1 kB / 0.7361 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9198, allocations: 1.922 kB / 0.7361 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009486/0.9207, allocations: 233.6 kB / 0.7364 GB, free: 13.26 MB / 0.5763 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.002462/0.9232, allocations: 1.229 MB / 0.7376 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.9246, allocations: 371.1 kB / 0.7379 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9247, allocations: 1.062 kB / 0.7379 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.9254, allocations: 162.4 kB / 0.7381 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.9273, allocations: 348.3 kB / 0.7384 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008002/0.9353, allocations: 4.717 MB / 0.743 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.9359, allocations: 0.8476 MB / 0.7438 GB, free: 9.867 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001098/0.937, allocations: 0.5554 MB / 0.7444 GB, free: 9.82 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.9374, allocations: 220.5 kB / 0.7446 GB, free: 9.812 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/0.9374, allocations: 0 / 0.7446 GB, free: 9.812 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.9912, allocations: 19.48 MB / 0.7636 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.84, allocations: 16.55 kB / 0.7636 GB, free: 6.859 MB / 0.5763 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)