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.001395/0.001395, allocations: 105 kB / 19.74 MB, free: 2.453 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.001496/0.001496, allocations: 218.6 kB / 22.92 MB, free: 5.195 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.586 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.199/0.199, allocations: 46.9 MB / 359.3 MB, free: 4.957 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.002188/0.002188, allocations: 79.86 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2637, allocations: 65.98 MB / 0.5584 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4366/0.7003, allocations: 186.6 MB / 0.7407 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.7035, allocations: 2.156 MB / 0.7428 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.7039, allocations: 15.81 kB / 0.7428 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.7046, allocations: 303.1 kB / 0.7431 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.7069, allocations: 1.198 MB / 0.7442 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.7082, allocations: 0.6828 MB / 0.7449 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.7094, allocations: 1.487 MB / 0.7464 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.7097, allocations: 348.6 kB / 0.7467 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.7104, allocations: 0.5922 MB / 0.7473 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.7109, allocations: 458.6 kB / 0.7477 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.711, allocations: 48.28 kB / 0.7477 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.7122, allocations: 0.8083 MB / 0.7485 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.7123, allocations: 152.6 kB / 0.7487 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.7126, allocations: 329.5 kB / 0.749 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.7138, allocations: 1.216 MB / 0.7502 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7139, allocations: 3.312 kB / 0.7502 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7139, allocations: 1.094 kB / 0.7502 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7139, allocations: 0 / 0.7502 GB, free: 1.594 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.001587/0.7155, allocations: 1.014 MB / 0.7512 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.7155, allocations: 9.391 kB / 0.7512 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.645e-05/0.7156, allocations: 78.98 kB / 0.7513 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/0.7165, allocations: 140.9 kB / 0.7514 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.717, allocations: 472.5 kB / 0.7518 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.717, allocations: 31.47 kB / 0.7519 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.7171, allocations: 35.44 kB / 0.7519 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.7179, allocations: 0.5528 MB / 0.7525 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7179, allocations: 6.125 kB / 0.7525 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.7179, allocations: 15.78 kB / 0.7525 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.7179, allocations: 11 kB / 0.7525 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.7186, allocations: 410 kB / 0.7529 GB, free: 16.53 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.002315/0.7209, allocations: 2.569 MB / 0.7554 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.7214, allocations: 282.4 kB / 0.7557 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.7217, allocations: 134.5 kB / 0.7558 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.722, allocations: 360.7 kB / 0.7561 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.722, allocations: 34.84 kB / 0.7562 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.303e-06/0.722, allocations: 1.203 kB / 0.7562 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002077/0.7241, allocations: 0.7037 MB / 0.7568 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.7241, allocations: 133.7 kB / 0.757 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.7245, allocations: 444.9 kB / 0.7574 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.7246, allocations: 31.58 kB / 0.7574 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.7247, allocations: 278.8 kB / 0.7577 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.7248, allocations: 109.5 kB / 0.7578 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.7249, allocations: 103.7 kB / 0.7579 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.725, allocations: 362.1 kB / 0.7582 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.7254, allocations: 144.3 kB / 0.7584 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.7257, allocations: 282.2 kB / 0.7586 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.7265, allocations: 426.2 kB / 0.7591 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7265, allocations: 0.875 kB / 0.7591 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009991/0.7275, allocations: 0.5237 MB / 0.7596 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7275, allocations: 12.22 kB / 0.7596 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.7275, allocations: 5.781 kB / 0.7596 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.7293, allocations: 269.8 kB / 0.7598 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.7296, allocations: 101.7 kB / 0.7599 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008404/0.7305, allocations: 0.6081 MB / 0.7605 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.7308, allocations: 48.66 kB / 0.7606 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.7309, allocations: 47.73 kB / 0.7606 GB, free: 12.39 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.0002072/0.7311, allocations: 186.4 kB / 0.7608 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.7312, allocations: 51.42 kB / 0.7609 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.7328, allocations: 1.026 MB / 0.7619 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7328, allocations: 4.312 kB / 0.7619 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7328, allocations: 0 / 0.7619 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7328, allocations: 2.906 kB / 0.7619 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.7342, allocations: 0.9663 MB / 0.7628 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7342, allocations: 3.281 kB / 0.7628 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.7344, allocations: 50.78 kB / 0.7629 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.736, allocations: 260 kB / 0.7631 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.736, allocations: 11.97 kB / 0.7631 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008542/0.7369, allocations: 0.6024 MB / 0.7637 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7369, allocations: 4.938 kB / 0.7637 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.738, allocations: 0.5094 MB / 0.7642 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7381, allocations: 135.5 kB / 0.7643 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.7382, allocations: 12.47 kB / 0.7643 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.7386, allocations: 18.47 kB / 0.7644 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.7386, allocations: 24.78 kB / 0.7644 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.7387, allocations: 22.64 kB / 0.7644 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000367/0.739, allocations: 386 kB / 0.7648 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.739, allocations: 0 / 0.7648 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006379/0.7397, allocations: 224.3 kB / 0.765 GB, free: 10.75 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.001902/0.7416, allocations: 1.251 MB / 0.7662 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.7427, allocations: 359.1 kB / 0.7666 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7427, allocations: 0.9688 kB / 0.7666 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.7433, allocations: 152 kB / 0.7667 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7447, allocations: 350.3 kB / 0.767 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.7511, allocations: 4.704 MB / 0.7716 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7515, allocations: 0.8537 MB / 0.7725 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.7523, allocations: 0.5414 MB / 0.773 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.7526, allocations: 222.9 kB / 0.7732 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.7526, allocations: 0 / 0.7732 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.7967, allocations: 19.55 MB / 0.7923 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.43, allocations: 6.172 kB / 0.7923 GB, free: 1.965 MB / 0.5762 GB " [Timeout remaining time 647] (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.000201839 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.993367038012366]