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.001606/0.001606, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001822/0.001822, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2214/0.2214, allocations: 46.91 MB / 361.6 MB, free: 4.195 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.002217/0.002217, allocations: 75.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3143, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003046/0.3174, allocations: 1.689 MB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.319, allocations: 0.9316 MB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.319, allocations: 0 / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3192, allocations: 27.83 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3194, allocations: 55.75 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.3198, allocations: 138.8 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.32, allocations: 139.4 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3201, allocations: 5.641 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.3201, allocations: 59.7 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3203, allocations: 75.67 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3203, allocations: 4 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.3206, allocations: 215.7 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3207, allocations: 39.83 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.3208, allocations: 63.55 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.3211, allocations: 237.2 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3212, allocations: 7.875 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3212, allocations: 0 / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3212, allocations: 0 / 0.5651 GB, free: 0.6289 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.000644/0.3218, allocations: 413.4 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3218, allocations: 8.031 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.3219, allocations: 4.188 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.3219, allocations: 50.73 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.323, allocations: 116.6 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.3233, allocations: 166.3 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3233, allocations: 12.36 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.3233, allocations: 8.375 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.324, allocations: 321.3 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.324, allocations: 0 / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.324, allocations: 7.984 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.3241, allocations: 27.97 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.3249, allocations: 319.6 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.3263, allocations: 0.7989 MB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.327, allocations: 210.3 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3273, allocations: 88.84 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3273, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3274, allocations: 42.55 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3274, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001043/0.3284, allocations: 293.5 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3285, allocations: 55.41 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3287, allocations: 179.4 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3287, allocations: 33.64 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3288, allocations: 147.7 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.3288, allocations: 35.67 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.3289, allocations: 57.62 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3291, allocations: 326.8 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3294, allocations: 79.91 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.3297, allocations: 141.1 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.3304, allocations: 218.6 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3304, allocations: 0 / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007717/0.3311, allocations: 273.2 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3311, allocations: 11.94 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3311, allocations: 224 / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3312, allocations: 8 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.3316, allocations: 79.92 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.3327, allocations: 1.785 MB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3329, allocations: 27.88 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3329, allocations: 15.97 kB / 0.5712 GB, free: 9.988 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.0001427/0.3331, allocations: 139.1 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.3331, allocations: 11.89 kB / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008062/0.3339, allocations: 270.8 kB / 0.5716 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3339, allocations: 3.938 kB / 0.5716 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3339, allocations: 0 / 0.5716 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3339, allocations: 3.984 kB / 0.5716 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.3342, allocations: 232.5 kB / 0.5719 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3342, allocations: 11.94 kB / 0.5719 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.3346, allocations: 67.86 kB / 0.5719 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3346, allocations: 4 kB / 0.572 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3346, allocations: 7.984 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/0.3356, allocations: 1.785 MB / 0.5737 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3356, allocations: 0 / 0.5737 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.3363, allocations: 315.2 kB / 0.574 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.3364, allocations: 12.09 kB / 0.574 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3364, allocations: 8 kB / 0.574 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3366, allocations: 7.984 kB / 0.574 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.3367, allocations: 11.97 kB / 0.574 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.3367, allocations: 15.97 kB / 0.5741 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3368, allocations: 140.9 kB / 0.5742 GB, free: 6.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3368, allocations: 0 / 0.5742 GB, free: 6.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000359/0.3372, allocations: 59.83 kB / 0.5742 GB, free: 6.758 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.001149/0.3383, allocations: 0.8724 MB / 0.5751 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008575/0.3392, allocations: 231.6 kB / 0.5753 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3392, allocations: 0 / 0.5753 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.3396, allocations: 135.8 kB / 0.5755 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3399, allocations: 12.42 kB / 0.5755 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3435, allocations: 2.348 MB / 0.5778 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3439, allocations: 0.7397 MB / 0.5785 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.3441, allocations: 69.34 kB / 0.5785 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3442, allocations: 51.39 kB / 0.5786 GB, free: 2.133 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3442, allocations: 4 kB / 0.5786 GB, free: 2.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3685, allocations: 5.015 MB / 0.5835 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.61, allocations: 12.62 kB / 0.5835 GB, free: 13.25 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.59363537299214] 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'] 12.78283606300829 12.799371908 12.474882329 Calling exit ...