Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.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.001411/0.001411, allocations: 105.5 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.00155/0.00155, allocations: 221.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.308/1.308, allocations: 230.2 MB / 256.2 MB, free: 8.609 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.1995/0.1995, allocations: 46.88 MB / 359.3 MB, free: 5.008 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.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",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.002137/0.002137, allocations: 75.88 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2554, allocations: 65.99 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002851/0.2582, allocations: 1.857 MB / 0.5603 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2601, allocations: 1.384 MB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.2602, allocations: 4 kB / 0.5616 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2604, allocations: 55.67 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.2607, allocations: 91.55 kB / 0.5618 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.2611, allocations: 227.1 kB / 0.562 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.2615, allocations: 401.7 kB / 0.5624 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.2616, allocations: 20.75 kB / 0.5624 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2618, allocations: 155.2 kB / 0.5625 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.2621, allocations: 183 kB / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2621, allocations: 8 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.2628, allocations: 471 kB / 0.5632 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.263, allocations: 127.4 kB / 0.5633 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.2632, allocations: 198.6 kB / 0.5635 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.2639, allocations: 0.6202 MB / 0.5641 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2639, allocations: 8 kB / 0.5641 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2639, allocations: 0 / 0.5641 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2639, allocations: 0 / 0.5641 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001104/0.265, allocations: 0.7866 MB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2651, allocations: 12.03 kB / 0.5649 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.2652, allocations: 110.6 kB / 0.565 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.2653, allocations: 56.56 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.2656, allocations: 311.6 kB / 0.5653 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.2657, allocations: 37.36 kB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.2657, allocations: 43.92 kB / 0.5654 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.2667, allocations: 0.6953 MB / 0.5661 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2667, allocations: 0 / 0.5661 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.2667, allocations: 16 kB / 0.5661 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/0.2668, allocations: 61.27 kB / 0.5661 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2678, allocations: 0.7273 MB / 0.5669 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.27, allocations: 1.705 MB / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2706, allocations: 353.9 kB / 0.5689 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.2709, allocations: 137.2 kB / 0.569 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.2709, allocations: 12.2 kB / 0.569 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2709, allocations: 38.8 kB / 0.569 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.2709, allocations: 0 / 0.569 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009508/0.2719, allocations: 495.6 kB / 0.5695 GB, free: 9.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2719, allocations: 55.41 kB / 0.5696 GB, free: 9.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.2724, allocations: 457.5 kB / 0.57 GB, free: 9.094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2724, allocations: 25.7 kB / 0.57 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.2726, allocations: 264.1 kB / 0.5703 GB, free: 8.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.2727, allocations: 107.1 kB / 0.5704 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2728, allocations: 85.47 kB / 0.5705 GB, free: 8.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2729, allocations: 354.8 kB / 0.5708 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2732, allocations: 135.9 kB / 0.5709 GB, free: 8.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2735, allocations: 257.3 kB / 0.5712 GB, free: 7.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.2742, allocations: 430.9 kB / 0.5716 GB, free: 7.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.2742, allocations: 7.938 kB / 0.5716 GB, free: 7.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008013/0.275, allocations: 484.8 kB / 0.572 GB, free: 6.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.275, allocations: 4 kB / 0.5721 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.275, allocations: 4 kB / 0.5721 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.275, allocations: 8 kB / 0.5721 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.2756, allocations: 155.9 kB / 0.5722 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.2776, allocations: 3.614 MB / 0.5757 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.2779, allocations: 63.45 kB / 0.5758 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.2779, allocations: 27.92 kB / 0.5758 GB, free: 2.848 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2781, allocations: 218 kB / 0.576 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.2782, allocations: 39.77 kB / 0.5761 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.2793, allocations: 0.5334 MB / 0.5766 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2793, allocations: 4 kB / 0.5766 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2793, allocations: 0 / 0.5766 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2793, allocations: 0 / 0.5766 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.2799, allocations: 461.1 kB / 0.577 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2799, allocations: 4 kB / 0.577 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.2804, allocations: 139.9 kB / 0.5772 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2804, allocations: 4 kB / 0.5772 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2804, allocations: 11.98 kB / 0.5772 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.2825, allocations: 3.614 MB / 0.5807 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2825, allocations: 0 / 0.5807 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2835, allocations: 0.6562 MB / 0.5814 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.2837, allocations: 168.7 kB / 0.5815 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2838, allocations: 4 kB / 0.5815 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.284, allocations: 15.92 kB / 0.5815 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.284, allocations: 31.91 kB / 0.5816 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2841, allocations: 12 kB / 0.5816 GB, free: 12.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.2844, allocations: 347.1 kB / 0.5819 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0 / 0.5819 GB, free: 12.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.2849, allocations: 163.5 kB / 0.5821 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/0.2864, allocations: 1.29 MB / 0.5833 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.2874, allocations: 428.3 kB / 0.5837 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2874, allocations: 0 / 0.5837 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.288, allocations: 247.7 kB / 0.584 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.2884, allocations: 37.48 kB / 0.584 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.2942, allocations: 4.879 MB / 0.5888 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.2947, allocations: 0.9092 MB / 0.5897 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000288/0.295, allocations: 146.9 kB / 0.5898 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.2952, allocations: 163.4 kB / 0.59 GB, free: 3.918 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2952, allocations: 0 / 0.59 GB, free: 3.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.3319, allocations: 11.3 MB / 0.601 GB, free: 8.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.15, allocations: 0 / 0.601 GB, free: 8.734 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.812066676997347]