Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001207/0.001207, allocations: 105.7 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.001269/0.001269, allocations: 214.7 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.296/1.296, allocations: 230.2 MB / 256.1 MB, free: 8.57 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.198/0.198, allocations: 46.89 MB / 359.3 MB, free: 4.941 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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.002106/0.002106, allocations: 83.84 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2612, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.441/0.7022, allocations: 184.9 MB / 0.739 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005821/0.708, allocations: 5.032 MB / 0.7439 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.7085, allocations: 17.59 kB / 0.7439 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.7092, allocations: 346.5 kB / 0.7443 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.7134, allocations: 2.14 MB / 0.7464 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.7153, allocations: 0.926 MB / 0.7473 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.7167, allocations: 1.684 MB / 0.7489 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.7171, allocations: 379 kB / 0.7493 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.7183, allocations: 0.8652 MB / 0.7501 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.7189, allocations: 0.5216 MB / 0.7506 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.719, allocations: 56.38 kB / 0.7507 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.7223, allocations: 2.491 MB / 0.7531 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.7224, allocations: 175.4 kB / 0.7533 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.7228, allocations: 375.3 kB / 0.7536 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.7257, allocations: 2.127 MB / 0.7557 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7257, allocations: 0 / 0.7557 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7257, allocations: 0.875 kB / 0.7557 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7257, allocations: 0 / 0.7557 GB, free: 1.492 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001745/0.7274, allocations: 1.173 MB / 0.7569 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7274, allocations: 10.91 kB / 0.7569 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/0.7275, allocations: 84.92 kB / 0.7569 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.7286, allocations: 174.1 kB / 0.7571 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.7293, allocations: 0.4953 MB / 0.7576 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.7293, allocations: 30.88 kB / 0.7576 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.7294, allocations: 48.94 kB / 0.7577 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.7303, allocations: 0.6435 MB / 0.7583 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.7303, allocations: 10.64 kB / 0.7583 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.7303, allocations: 22.28 kB / 0.7583 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.7304, allocations: 13.5 kB / 0.7583 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.7311, allocations: 498.1 kB / 0.7588 GB, free: 16.31 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.002479/0.7335, allocations: 2.634 MB / 0.7614 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.7341, allocations: 294.7 kB / 0.7617 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.7343, allocations: 140.1 kB / 0.7618 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/0.7347, allocations: 447.7 kB / 0.7622 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.7347, allocations: 40.16 kB / 0.7623 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.482e-06/0.7347, allocations: 0 / 0.7623 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001345/0.736, allocations: 0.6989 MB / 0.763 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.7361, allocations: 160.6 kB / 0.7631 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.7365, allocations: 0.5015 MB / 0.7636 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.7366, allocations: 36.23 kB / 0.7636 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.7367, allocations: 309.8 kB / 0.7639 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.7368, allocations: 127.5 kB / 0.764 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.7369, allocations: 122.6 kB / 0.7642 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7371, allocations: 363.6 kB / 0.7645 GB, free: 13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7373, allocations: 145.2 kB / 0.7646 GB, free: 13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.7376, allocations: 324 kB / 0.765 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.7382, allocations: 474.4 kB / 0.7654 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7382, allocations: 0 / 0.7654 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008005/0.739, allocations: 0.569 MB / 0.766 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.739, allocations: 12.52 kB / 0.766 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.739, allocations: 5.953 kB / 0.766 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.7404, allocations: 233.7 kB / 0.7662 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.7407, allocations: 122.7 kB / 0.7663 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/0.7411, allocations: 0.5814 MB / 0.7669 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.7415, allocations: 61.73 kB / 0.767 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.7415, allocations: 55.12 kB / 0.767 GB, free: 11.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002203/0.7417, allocations: 191.2 kB / 0.7672 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.7419, allocations: 61.28 kB / 0.7672 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.7433, allocations: 1.097 MB / 0.7683 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7433, allocations: 2.625 kB / 0.7683 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7433, allocations: 4.906 kB / 0.7683 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7433, allocations: 4 kB / 0.7683 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.7445, allocations: 0.9928 MB / 0.7693 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7445, allocations: 4.375 kB / 0.7693 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.7446, allocations: 49.11 kB / 0.7693 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/0.7475, allocations: 436.5 kB / 0.7698 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.7475, allocations: 15.95 kB / 0.7698 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003916/0.7479, allocations: 0.5878 MB / 0.7704 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7479, allocations: 5.844 kB / 0.7704 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.7485, allocations: 0.5024 MB / 0.7708 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7486, allocations: 141.7 kB / 0.771 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.7487, allocations: 10.72 kB / 0.771 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.749, allocations: 18.84 kB / 0.771 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.7491, allocations: 30.61 kB / 0.771 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.7491, allocations: 16.66 kB / 0.7711 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003979/0.7495, allocations: 427.4 kB / 0.7715 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7495, allocations: 0 / 0.7715 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009118/0.7504, allocations: 356.7 kB / 0.7718 GB, free: 10.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001671/0.7521, allocations: 1.391 MB / 0.7732 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.7527, allocations: 363.5 kB / 0.7735 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7527, allocations: 1.094 kB / 0.7735 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.7529, allocations: 142.2 kB / 0.7736 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.7546, allocations: 418.4 kB / 0.774 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/0.76, allocations: 5.001 MB / 0.7789 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.7604, allocations: 0.8665 MB / 0.7798 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000942/0.7613, allocations: 0.5718 MB / 0.7803 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.7616, allocations: 246.5 kB / 0.7806 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7616, allocations: 0 / 0.7806 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.8167, allocations: 25.17 MB / 0.8051 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.17, allocations: 0 / 0.8051 GB, free: 9.816 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.724463574995752]