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_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.001261/0.001261, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001418/0.001418, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2197/0.2197, allocations: 46.92 MB / 361.6 MB, free: 4.164 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002388/0.002388, allocations: 83.84 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3336, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003156/0.3367, allocations: 1.842 MB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3379, allocations: 0.6435 MB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.3379, allocations: 0 / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.3382, allocations: 59.66 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.3384, allocations: 71.58 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3388, allocations: 119.5 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.339, allocations: 234.7 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.3391, allocations: 8.594 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3392, allocations: 91.5 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3394, allocations: 115.4 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3394, allocations: 8 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.3398, allocations: 219.7 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3398, allocations: 59.75 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3399, allocations: 95.3 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.3404, allocations: 336.6 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3405, allocations: 8 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3405, allocations: 0 / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3405, allocations: 0 / 0.5653 GB, free: 384 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.0008166/0.3413, allocations: 469.5 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3413, allocations: 8.031 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.3414, allocations: 62.72 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.3432, allocations: 204.4 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.3436, allocations: 222.1 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3436, allocations: 16.88 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.3437, allocations: 20.38 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3447, allocations: 0.5007 MB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3447, allocations: 0 / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3447, allocations: 12 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.3448, allocations: 24.64 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.346, allocations: 0.5802 MB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.3483, allocations: 1.143 MB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.349, allocations: 166.4 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.3493, allocations: 84.77 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3493, allocations: 4 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3494, allocations: 30.56 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.3494, allocations: 7.922 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001195/0.3506, allocations: 313.3 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3506, allocations: 55.41 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3509, allocations: 277.9 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3509, allocations: 25.7 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3511, allocations: 171.7 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3511, allocations: 27.78 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.3512, allocations: 33.69 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3514, allocations: 334.8 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.3517, allocations: 87.91 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.3521, allocations: 115.3 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.3528, allocations: 219.1 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3528, allocations: 4 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008183/0.3536, allocations: 261.3 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3537, allocations: 6.5 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3537, allocations: 0 / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3537, allocations: 4 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006059/0.3597, allocations: 467.3 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.3627, allocations: 1.945 MB / 0.573 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.3631, allocations: 47.73 kB / 0.573 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3631, allocations: 11.98 kB / 0.573 GB, free: 8.168 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.0001947/0.3633, allocations: 153.7 kB / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.3634, allocations: 19.86 kB / 0.5732 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.3634, allocations: 25.7 kB / 0.5732 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3635, allocations: 12 kB / 0.5732 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3635, allocations: 0 / 0.5732 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3635, allocations: 4.078 kB / 0.5732 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3639, allocations: 268.4 kB / 0.5735 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3639, allocations: 3.984 kB / 0.5735 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006201/0.3701, allocations: 455.2 kB / 0.5739 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3701, allocations: 4 kB / 0.5739 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3701, allocations: 7.984 kB / 0.5739 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/0.373, allocations: 1.938 MB / 0.5758 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.373, allocations: 0 / 0.5758 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.3739, allocations: 323.2 kB / 0.5761 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3739, allocations: 15.86 kB / 0.5761 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.374, allocations: 4 kB / 0.5762 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.3744, allocations: 19.97 kB / 0.5762 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3744, allocations: 11.97 kB / 0.5762 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3745, allocations: 7.922 kB / 0.5762 GB, free: 4.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.3747, allocations: 217.1 kB / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3747, allocations: 0 / 0.5764 GB, free: 4.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000384/0.3751, allocations: 67.89 kB / 0.5765 GB, free: 4.5 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.001286/0.3764, allocations: 0.8567 MB / 0.5773 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006368/0.3827, allocations: 0.5889 MB / 0.5779 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3827, allocations: 0 / 0.5779 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005666/0.3884, allocations: 0.4955 MB / 0.5784 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.3888, allocations: 45.41 kB / 0.5784 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.3936, allocations: 2.989 MB / 0.5813 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.394, allocations: 0.783 MB / 0.5821 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.3942, allocations: 49.92 kB / 0.5821 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3943, allocations: 67.41 kB / 0.5822 GB, free: 14.48 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3943, allocations: 0 / 0.5822 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4287, allocations: 8.018 MB / 0.59 GB, free: 6.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 7.375 kB / 0.59 GB, free: 6.602 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.872517250012606] 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'] 12.202632143162191 12.228441983 11.883177138 Calling exit ...