Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 65.48 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003458/0.3371, allocations: 1.753 MB / 0.5595 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.339, allocations: 0.9242 MB / 0.5604 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.339, allocations: 4 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3393, allocations: 43.77 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3396, allocations: 71.56 kB / 0.5605 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.34, allocations: 119.5 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.3403, allocations: 226.8 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.3404, allocations: 13.95 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3405, allocations: 79.64 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.3407, allocations: 115.4 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3407, allocations: 8 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.341, allocations: 151.8 kB / 0.5612 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3411, allocations: 55.75 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3413, allocations: 79.47 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.3417, allocations: 292.5 kB / 0.5616 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3417, allocations: 4 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3417, allocations: 0 / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3417, allocations: 0 / 0.5616 GB, free: 3.613 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009076/0.3426, allocations: 473.3 kB / 0.562 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3427, allocations: 16.02 kB / 0.562 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.363e-05/0.3427, allocations: 4.625 kB / 0.5621 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/0.3428, allocations: 66.72 kB / 0.5621 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.3437, allocations: 136.5 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.344, allocations: 202.1 kB / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.344, allocations: 20.8 kB / 0.5625 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.3441, allocations: 23.94 kB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.3448, allocations: 434.5 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3448, allocations: 4 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3449, allocations: 7.984 kB / 0.5629 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.3449, allocations: 24.48 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.3457, allocations: 397.6 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3477, allocations: 1.256 MB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.348, allocations: 90.5 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3481, allocations: 56.75 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3481, allocations: 3.938 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3482, allocations: 34.56 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3482, allocations: 0 / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005844/0.3488, allocations: 193.5 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3488, allocations: 51.41 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3492, allocations: 329.8 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3492, allocations: 25.7 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3493, allocations: 183.6 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.3494, allocations: 27.78 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.3495, allocations: 45.66 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3496, allocations: 334.8 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3498, allocations: 67.94 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.35, allocations: 120.4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3504, allocations: 189.3 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3504, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005116/0.3509, allocations: 237.2 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.351, allocations: 4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.351, allocations: 4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.351, allocations: 4.188 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.3525, allocations: 123.8 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.3546, allocations: 1.832 MB / 0.5684 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3549, allocations: 40.05 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3549, allocations: 11.98 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001716/0.3551, allocations: 165.6 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.3552, allocations: 19.86 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.3557, allocations: 207.1 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3557, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3557, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3557, allocations: 0 / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.356, allocations: 232.6 kB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.356, allocations: 0 / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.3572, allocations: 95.86 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3572, allocations: 4 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3573, allocations: 4 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.3587, allocations: 1.793 MB / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3587, allocations: 0 / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.3591, allocations: 267.2 kB / 0.5711 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.3592, allocations: 27.78 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.3592, allocations: 288 / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3594, allocations: 15.98 kB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3595, allocations: 7.984 kB / 0.5712 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3595, allocations: 4 kB / 0.5712 GB, free: 9.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.3598, allocations: 249.2 kB / 0.5714 GB, free: 9.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5714 GB, free: 9.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.3601, allocations: 63.95 kB / 0.5715 GB, free: 9.004 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.0008991/0.361, allocations: 0.8058 MB / 0.5722 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.3633, allocations: 248 kB / 0.5725 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3634, allocations: 4.062 kB / 0.5725 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3644, allocations: 111.8 kB / 0.5726 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3648, allocations: 38.53 kB / 0.5726 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.369, allocations: 2.918 MB / 0.5755 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3691, allocations: 169.1 kB / 0.5756 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.3693, allocations: 54.25 kB / 0.5757 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3694, allocations: 75.41 kB / 0.5758 GB, free: 4.418 MB / 414.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3694, allocations: 0 / 0.5758 GB, free: 4.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4014, allocations: 8.872 MB / 0.5844 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.62, allocations: 8.938 kB / 0.5844 GB, free: 11.79 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.725958585971966] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[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.791845120955259 13.807394288 13.462638208 Calling exit ...