Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.001244/0.001244, 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.001367/0.001367, allocations: 210.7 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.373/1.373, 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.2183/0.2183, allocations: 46.92 MB / 361.6 MB, free: 4.207 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 79.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, 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_idealGas_DPMFLOW): time 0.003519/0.3358, allocations: 1.799 MB / 0.5633 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3375, allocations: 1.025 MB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.3376, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3379, allocations: 63.66 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.3382, allocations: 67.59 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3386, allocations: 123.5 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.3388, allocations: 214.8 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.497e-05/0.3389, allocations: 13.95 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.339, allocations: 91.52 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.3392, allocations: 103.5 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3393, allocations: 4 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.3396, allocations: 211.7 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.3397, allocations: 59.69 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.806e-05/0.3398, allocations: 91.36 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.3403, allocations: 312.6 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3403, allocations: 0 / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3403, allocations: 4 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3403, allocations: 0 / 0.5656 GB, free: 112 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008548/0.3411, allocations: 473.3 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3412, allocations: 8.031 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.768e-05/0.3412, allocations: 8.625 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.3412, allocations: 62.72 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.3421, allocations: 132.6 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.3424, allocations: 212.8 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3425, allocations: 16.81 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.3425, allocations: 23.92 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.3432, allocations: 434.5 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3432, allocations: 0 / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3432, allocations: 11.98 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.3433, allocations: 24.48 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.344, allocations: 401.5 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.3461, allocations: 1.442 MB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3464, allocations: 98.44 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3465, allocations: 56.75 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3466, allocations: 4 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3466, allocations: 30.56 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3466, allocations: 0 / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006305/0.3472, allocations: 193.5 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3473, allocations: 51.41 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.3477, allocations: 333.8 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3477, allocations: 25.7 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3478, allocations: 183.6 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3479, allocations: 23.78 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.348, allocations: 41.67 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3482, allocations: 334.8 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3484, allocations: 67.94 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3486, allocations: 117.9 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.349, allocations: 189 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.349, allocations: 4 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005182/0.3495, allocations: 241.2 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3495, allocations: 4 kB / 0.5706 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3495, allocations: 4 kB / 0.5706 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3495, allocations: 0 / 0.5706 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.351, allocations: 127.8 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3532, allocations: 1.836 MB / 0.5726 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3536, allocations: 35.72 kB / 0.5726 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3536, allocations: 8 kB / 0.5726 GB, free: 8.555 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.000251/0.3538, allocations: 170.9 kB / 0.5728 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.3539, allocations: 23.86 kB / 0.5728 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.3545, allocations: 199.2 kB / 0.573 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3545, allocations: 3.938 kB / 0.573 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3545, allocations: 0 / 0.573 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3545, allocations: 4 kB / 0.573 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.3549, allocations: 240.5 kB / 0.5732 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3549, allocations: 3.984 kB / 0.5732 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.3561, allocations: 99.86 kB / 0.5733 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.3561, allocations: 4 kB / 0.5733 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3561, allocations: 4 kB / 0.5733 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.3576, allocations: 1.785 MB / 0.5751 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3576, allocations: 0 / 0.5751 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.3581, allocations: 263.2 kB / 0.5753 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.3581, allocations: 31.97 kB / 0.5753 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3582, allocations: 4 kB / 0.5753 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3584, allocations: 11.98 kB / 0.5754 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3584, allocations: 3.984 kB / 0.5754 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3584, allocations: 4 kB / 0.5754 GB, free: 5.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.3587, allocations: 245.2 kB / 0.5756 GB, free: 5.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3587, allocations: 0 / 0.5756 GB, free: 5.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.3591, allocations: 67.94 kB / 0.5757 GB, free: 5.27 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.0009302/0.36, allocations: 0.8019 MB / 0.5764 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.3623, allocations: 247.7 kB / 0.5767 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3623, allocations: 0 / 0.5767 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009456/0.3632, allocations: 112.5 kB / 0.5768 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3636, allocations: 59.44 kB / 0.5768 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.3677, allocations: 2.916 MB / 0.5797 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.3681, allocations: 0.7753 MB / 0.5804 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3683, allocations: 50.25 kB / 0.5805 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3684, allocations: 75.42 kB / 0.5806 GB, free: 60 kB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3684, allocations: 0 / 0.5806 GB, free: 60 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3981, allocations: 7.992 MB / 0.5884 GB, free: 8.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.04, allocations: 4.375 kB / 0.5884 GB, free: 8.23 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.989098016056232] 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.210577372985426 13.232016102 12.888115597 Calling exit ...