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.General.dp_pressureLossCoefficient_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.001872/0.001872, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002208/0.002208, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 46.94 MB / 361.6 MB, free: 4.191 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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.003757/0.003757, allocations: 79.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.341, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002982/0.344, allocations: 1.703 MB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3454, allocations: 0.8501 MB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.3455, allocations: 4 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3457, allocations: 43.75 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.3459, allocations: 47.73 kB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.3462, allocations: 115.6 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3464, allocations: 147.2 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.3465, allocations: 12.86 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3466, allocations: 75.62 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3468, allocations: 75.67 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3468, allocations: 4 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.3471, allocations: 163.8 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3472, allocations: 43.81 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.3472, allocations: 63.56 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.3476, allocations: 205.4 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3476, allocations: 0 / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3476, allocations: 0 / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3476, allocations: 0 / 0.565 GB, free: 0.7344 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005964/0.3482, allocations: 393.4 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3482, allocations: 12.03 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.3483, allocations: 54.73 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.3487, allocations: 52.78 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.3489, allocations: 170.2 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.349, allocations: 12.45 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.349, allocations: 15.94 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.3495, allocations: 233.2 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3495, allocations: 0 / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.3495, allocations: 11.94 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.3495, allocations: 19.98 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.35, allocations: 223.8 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3511, allocations: 0.6939 MB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3514, allocations: 94.44 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3515, allocations: 48.81 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3515, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3515, allocations: 34.5 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3515, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005298/0.3521, allocations: 177.5 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3521, allocations: 51.41 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3523, allocations: 191.2 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3523, allocations: 25.7 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3524, allocations: 143.9 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3524, allocations: 23.78 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.3525, allocations: 37.66 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3527, allocations: 326.8 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3528, allocations: 47.95 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.353, allocations: 94.81 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3533, allocations: 166.6 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3533, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003803/0.3537, allocations: 181.3 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3537, allocations: 8 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3537, allocations: 3.938 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3537, allocations: 4 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.3546, allocations: 96.11 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.3559, allocations: 1.805 MB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3561, allocations: 23.91 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3561, allocations: 4 kB / 0.5703 GB, free: 10.96 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 (14): * Single equations (assignments): 11 * 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.0001426/0.3562, allocations: 149.6 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3563, allocations: 20 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.3568, allocations: 178.8 kB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3568, allocations: 8 kB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3568, allocations: 0 / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3568, allocations: 0 / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.357, allocations: 212.5 kB / 0.5708 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.357, allocations: 0 / 0.5708 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.3577, allocations: 79.89 kB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3577, allocations: 4 kB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3578, allocations: 4 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3589, allocations: 1.766 MB / 0.5726 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3589, allocations: 4.062 kB / 0.5726 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.3593, allocations: 251.2 kB / 0.5729 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.3593, allocations: 15.91 kB / 0.5729 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3594, allocations: 7.984 kB / 0.5729 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3595, allocations: 4 kB / 0.5729 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3595, allocations: 11.97 kB / 0.5729 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3596, allocations: 7.984 kB / 0.5729 GB, free: 8.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3597, allocations: 141.6 kB / 0.573 GB, free: 7.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3597, allocations: 3.938 kB / 0.5731 GB, free: 7.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.36, allocations: 43.94 kB / 0.5731 GB, free: 7.922 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 (11): * Single equations (assignments): 8 * 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.0007826/0.3608, allocations: 0.7942 MB / 0.5739 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.362, allocations: 192.2 kB / 0.5741 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.362, allocations: 0 / 0.5741 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.3626, allocations: 103.8 kB / 0.5742 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.363, allocations: 53.25 kB / 0.5742 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.3657, allocations: 2.096 MB / 0.5762 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.366, allocations: 0.7397 MB / 0.577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.3662, allocations: 37.34 kB / 0.577 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.3662, allocations: 43.42 kB / 0.577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3662, allocations: 0 / 0.577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3952, allocations: 5.162 MB / 0.5821 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.73, allocations: 15.38 kB / 0.5821 GB, free: 14.67 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.590056712273508] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[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'] 11.82929027127102 11.852992335 11.50069299 Calling exit ...