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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 222.2 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 230.2 MB / 256.1 MB, free: 8.77 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1972/0.1972, allocations: 46.89 MB / 359.3 MB, free: 4.988 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.00219/0.00219, allocations: 79.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2594, allocations: 65.98 MB / 0.5584 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4317/0.691, allocations: 186.6 MB / 0.7407 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.6939, allocations: 2.158 MB / 0.7428 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.6941, allocations: 15.44 kB / 0.7428 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.6947, allocations: 301.7 kB / 0.7431 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.6966, allocations: 1.196 MB / 0.7442 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.6977, allocations: 0.6846 MB / 0.7449 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.6987, allocations: 1.489 MB / 0.7464 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.6991, allocations: 353.7 kB / 0.7467 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.6996, allocations: 0.5802 MB / 0.7473 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.7, allocations: 457.4 kB / 0.7477 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.7001, allocations: 48.28 kB / 0.7477 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.7011, allocations: 0.8096 MB / 0.7485 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.7013, allocations: 157.3 kB / 0.7487 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.7015, allocations: 326.9 kB / 0.749 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.7026, allocations: 1.213 MB / 0.7502 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7026, allocations: 3.5 kB / 0.7502 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7026, allocations: 0 / 0.7502 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7026, allocations: 0 / 0.7502 GB, free: 1.582 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.001399/0.704, allocations: 1.01 MB / 0.7512 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.704, allocations: 11.22 kB / 0.7512 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.7041, allocations: 84.75 kB / 0.7513 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.7049, allocations: 138.1 kB / 0.7514 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.7055, allocations: 471.9 kB / 0.7518 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.7055, allocations: 31.97 kB / 0.7519 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.7056, allocations: 38.88 kB / 0.7519 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.7063, allocations: 0.5508 MB / 0.7524 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7063, allocations: 1 kB / 0.7524 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.7064, allocations: 20.53 kB / 0.7525 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.7064, allocations: 10.06 kB / 0.7525 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.707, allocations: 414.2 kB / 0.7529 GB, free: 16.52 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.002316/0.7094, allocations: 2.567 MB / 0.7554 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.7099, allocations: 276.5 kB / 0.7556 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.7101, allocations: 138.5 kB / 0.7558 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.7104, allocations: 354.2 kB / 0.7561 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7104, allocations: 37.5 kB / 0.7561 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.263e-06/0.7104, allocations: 0 / 0.7561 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002052/0.7125, allocations: 0.7101 MB / 0.7568 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.7126, allocations: 130.8 kB / 0.757 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.7129, allocations: 446.7 kB / 0.7574 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.713, allocations: 37.22 kB / 0.7574 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.7131, allocations: 276.5 kB / 0.7577 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.7132, allocations: 108.5 kB / 0.7578 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.7133, allocations: 106.9 kB / 0.7579 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7135, allocations: 365.2 kB / 0.7582 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.7138, allocations: 142.8 kB / 0.7584 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.7142, allocations: 269.4 kB / 0.7586 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.7149, allocations: 426.6 kB / 0.759 GB, free: 13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7149, allocations: 2.125 kB / 0.759 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009879/0.7158, allocations: 0.5317 MB / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7159, allocations: 6.594 kB / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7159, allocations: 3.219 kB / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.7177, allocations: 272 kB / 0.7598 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.718, allocations: 108.5 kB / 0.7599 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/0.7188, allocations: 0.6065 MB / 0.7605 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.7192, allocations: 43.83 kB / 0.7606 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.7192, allocations: 50.64 kB / 0.7606 GB, free: 12.37 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 (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.0002048/0.7194, allocations: 177.4 kB / 0.7608 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.7195, allocations: 54.08 kB / 0.7608 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.7211, allocations: 1.029 MB / 0.7618 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.7211, allocations: 4.844 kB / 0.7618 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7211, allocations: 4.25 kB / 0.7619 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7211, allocations: 0.9375 kB / 0.7619 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.7225, allocations: 0.9673 MB / 0.7628 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7225, allocations: 0.9062 kB / 0.7628 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.7227, allocations: 48.97 kB / 0.7628 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.7243, allocations: 263.3 kB / 0.7631 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.7243, allocations: 11.53 kB / 0.7631 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007981/0.7251, allocations: 0.6017 MB / 0.7637 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.7251, allocations: 14.44 kB / 0.7637 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.7262, allocations: 0.5054 MB / 0.7642 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7263, allocations: 133.2 kB / 0.7643 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.7264, allocations: 12.06 kB / 0.7643 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.7267, allocations: 18.83 kB / 0.7644 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.7268, allocations: 23.92 kB / 0.7644 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.7268, allocations: 19.38 kB / 0.7644 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003527/0.7272, allocations: 387.8 kB / 0.7648 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7272, allocations: 3.938 kB / 0.7648 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006366/0.7278, allocations: 222.5 kB / 0.765 GB, free: 10.72 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 (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.001871/0.7297, allocations: 1.248 MB / 0.7662 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.7308, allocations: 357.2 kB / 0.7665 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7308, allocations: 4.25 kB / 0.7666 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.7315, allocations: 156.7 kB / 0.7667 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.7328, allocations: 342.1 kB / 0.767 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.7392, allocations: 4.701 MB / 0.7716 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.7397, allocations: 0.852 MB / 0.7724 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008071/0.7405, allocations: 0.5484 MB / 0.773 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.7408, allocations: 222.5 kB / 0.7732 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.7408, allocations: 0 / 0.7732 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/0.7827, allocations: 19.56 MB / 0.7923 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.15, allocations: 2.812 kB / 0.7923 GB, free: 1.949 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.665120899997419]