Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.001668/0.001668, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002181/0.002181, allocations: 220.9 kB / 24.53 MB, free: 4.008 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2301/0.2301, allocations: 46.92 MB / 361.6 MB, free: 4.227 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 79.81 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003257/0.312, allocations: 1.847 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3132, allocations: 0.6396 MB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.3133, allocations: 0 / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.3137, allocations: 55.67 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3139, allocations: 75.56 kB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3143, allocations: 123.5 kB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.3147, allocations: 230.8 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.3147, allocations: 12.59 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.3149, allocations: 91.45 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.315, allocations: 107.4 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3151, allocations: 8 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.3155, allocations: 223.8 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.3156, allocations: 51.77 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3157, allocations: 103.2 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.3162, allocations: 340.5 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3162, allocations: 3.984 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3162, allocations: 0 / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3162, allocations: 0 / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007225/0.3169, allocations: 465.5 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3169, allocations: 8.031 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.317, allocations: 12.69 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.317, allocations: 70.66 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.3189, allocations: 200.4 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3192, allocations: 210.2 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3193, allocations: 20.88 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.3193, allocations: 20.36 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009919/0.3203, allocations: 0.5083 MB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3203, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.3204, allocations: 12 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.3204, allocations: 28.62 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3217, allocations: 0.5841 MB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.324, allocations: 1.135 MB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.3247, allocations: 170.3 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.325, allocations: 84.75 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.325, allocations: 8.141 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3251, allocations: 30.56 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3251, allocations: 4 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001269/0.3263, allocations: 301.2 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3264, allocations: 51.41 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.3267, allocations: 273.9 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3267, allocations: 29.64 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3268, allocations: 175.7 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.3269, allocations: 27.78 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.327, allocations: 33.69 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3271, allocations: 338.8 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3275, allocations: 87.89 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.3279, allocations: 122.7 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.3286, allocations: 207.2 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3286, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008815/0.3295, allocations: 269.2 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3295, allocations: 6.344 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3295, allocations: 0 / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3295, allocations: 4.094 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005822/0.3354, allocations: 471.3 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3383, allocations: 1.942 MB / 0.573 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.3387, allocations: 51.64 kB / 0.573 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3387, allocations: 8.297 kB / 0.573 GB, free: 8.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002208/0.339, allocations: 159.1 kB / 0.5732 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.339, allocations: 23.8 kB / 0.5732 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.3391, allocations: 33.69 kB / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3391, allocations: 0 / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3391, allocations: 0 / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3391, allocations: 0 / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.3395, allocations: 268.5 kB / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3395, allocations: 0 / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005721/0.3452, allocations: 459.3 kB / 0.5739 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3452, allocations: 0 / 0.5739 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3452, allocations: 3.984 kB / 0.5739 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.3481, allocations: 1.945 MB / 0.5758 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3481, allocations: 0 / 0.5758 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.349, allocations: 327.2 kB / 0.5761 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.349, allocations: 19.84 kB / 0.5762 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.3491, allocations: 4 kB / 0.5762 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3494, allocations: 27.97 kB / 0.5762 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3495, allocations: 15.91 kB / 0.5762 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3495, allocations: 3.984 kB / 0.5762 GB, free: 4.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.3497, allocations: 205.2 kB / 0.5764 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 0.5764 GB, free: 4.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3501, allocations: 71.89 kB / 0.5765 GB, free: 4.562 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 (7): * Single equations (assignments): 4 * 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.001281/0.3514, allocations: 0.8567 MB / 0.5773 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006013/0.3574, allocations: 0.585 MB / 0.5779 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3574, allocations: 0 / 0.5779 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005508/0.3629, allocations: 0.4955 MB / 0.5784 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3633, allocations: 44.55 kB / 0.5784 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.3683, allocations: 2.988 MB / 0.5813 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.3688, allocations: 0.7869 MB / 0.5821 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3689, allocations: 53.84 kB / 0.5821 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.369, allocations: 63.41 kB / 0.5822 GB, free: 14.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.369, allocations: 4 kB / 0.5822 GB, free: 14.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3977, allocations: 8.083 MB / 0.5901 GB, free: 6.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.85, allocations: 11.16 kB / 0.5901 GB, free: 6.617 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.836059299996123] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', 'rho[1]', 'rho[2]', 'rho[3]', '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.0154951409786 13.031134462 12.711743292 Calling exit ...