Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001511/0.001511, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001471/0.001471, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 83.86 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3083, allocations: 66.08 MB / 0.5615 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003013/0.3113, allocations: 1.638 MB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3127, allocations: 0.8462 MB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.3128, allocations: 4 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.313, allocations: 31.83 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3131, allocations: 51.75 kB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.3135, allocations: 131.5 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3137, allocations: 143.3 kB / 0.5642 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.3138, allocations: 9.438 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.3139, allocations: 63.7 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.314, allocations: 75.67 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.314, allocations: 4 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.3143, allocations: 167.8 kB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.3144, allocations: 35.83 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3145, allocations: 55.67 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.3148, allocations: 229 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3148, allocations: 7.938 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3148, allocations: 0 / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3148, allocations: 0 / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005903/0.3154, allocations: 409.4 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3155, allocations: 8.031 kB / 0.5653 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.992e-05/0.3155, allocations: 4.188 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.3155, allocations: 50.73 kB / 0.5653 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.3167, allocations: 118 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.317, allocations: 170.2 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.317, allocations: 12.38 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.317, allocations: 14.98 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.3177, allocations: 321.3 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3177, allocations: 0 / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3177, allocations: 7.969 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.3178, allocations: 23.98 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.3186, allocations: 315.7 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3199, allocations: 0.6171 MB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.3207, allocations: 222.3 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.321, allocations: 84.81 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.321, allocations: 4 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3211, allocations: 30.56 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3211, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001012/0.3221, allocations: 293.6 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3221, allocations: 51.41 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3223, allocations: 187.4 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3224, allocations: 33.62 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.3225, allocations: 135.8 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3225, allocations: 43.62 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.3226, allocations: 49.67 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3227, allocations: 322.8 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.323, allocations: 87.89 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3234, allocations: 142.6 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.324, allocations: 226.5 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.324, allocations: 0 / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007842/0.3248, allocations: 273.2 kB / 0.5689 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3248, allocations: 4 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3248, allocations: 4 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3249, allocations: 4 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3254, allocations: 75.92 kB / 0.569 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.3265, allocations: 1.793 MB / 0.5708 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3267, allocations: 23.88 kB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3267, allocations: 11.98 kB / 0.5708 GB, free: 10.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.3269, allocations: 143.1 kB / 0.5709 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.327, allocations: 19.84 kB / 0.571 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.3278, allocations: 270.9 kB / 0.5712 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3278, allocations: 4 kB / 0.5712 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3278, allocations: 7.984 kB / 0.5712 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3278, allocations: 0 / 0.5712 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.3281, allocations: 232.4 kB / 0.5715 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3282, allocations: 0 / 0.5715 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.3285, allocations: 67.92 kB / 0.5715 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3285, allocations: 0 / 0.5715 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.3286, allocations: 15.98 kB / 0.5715 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3296, allocations: 1.778 MB / 0.5733 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3296, allocations: 0 / 0.5733 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.3304, allocations: 319.2 kB / 0.5736 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.3304, allocations: 11.91 kB / 0.5736 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.3305, allocations: 8.281 kB / 0.5736 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3307, allocations: 11.98 kB / 0.5736 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3307, allocations: 11.97 kB / 0.5736 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.3308, allocations: 15.91 kB / 0.5736 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3309, allocations: 136.9 kB / 0.5738 GB, free: 6.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3309, allocations: 0 / 0.5738 GB, free: 6.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.3313, allocations: 59.88 kB / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.3325, allocations: 0.884 MB / 0.5747 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008706/0.3333, allocations: 228.1 kB / 0.5749 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.3334, allocations: 8 kB / 0.5749 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.3339, allocations: 123.8 kB / 0.575 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.3341, allocations: 19.92 kB / 0.575 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.3379, allocations: 2.338 MB / 0.5773 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.338, allocations: 122.6 kB / 0.5774 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.3382, allocations: 77.28 kB / 0.5775 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3383, allocations: 55.39 kB / 0.5776 GB, free: 2.848 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3383, allocations: 0 / 0.5776 GB, free: 2.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.364, allocations: 5.118 MB / 0.5826 GB, free: 13.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.02, allocations: 15.97 kB / 0.5826 GB, free: 13.87 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.984904497978278] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 13.190833745989949 13.217591997 12.897803692 Calling exit ...