Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.001733/0.001733, 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.002444/0.002444, allocations: 207.4 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2169/0.2169, allocations: 46.93 MB / 361.6 MB, free: 4.172 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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.88 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003303/0.3238, allocations: 1.945 MB / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3258, allocations: 1.142 MB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.3259, allocations: 7.875 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3263, allocations: 77.56 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.3265, allocations: 71.52 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.327, allocations: 159.4 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.3273, allocations: 258.4 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.3274, allocations: 16.94 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3276, allocations: 119.3 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.3278, allocations: 111.4 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3278, allocations: 11.94 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.3283, allocations: 315.5 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.3284, allocations: 59.72 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3285, allocations: 115.2 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.3291, allocations: 434.1 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3291, allocations: 8 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3291, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3291, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007628/0.3299, allocations: 0.5017 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3299, allocations: 11.97 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.099e-05/0.33, allocations: 9.188 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3301, allocations: 78.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.3302, allocations: 36.7 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3304, allocations: 181.9 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3305, allocations: 21 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.3305, allocations: 39.98 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.3313, allocations: 485.4 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3313, allocations: 3.938 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3313, allocations: 12 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.3314, allocations: 36.98 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.332, allocations: 423.7 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3336, allocations: 1.157 MB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3338, allocations: 74.45 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3339, allocations: 48.81 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.3339, allocations: 4 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.334, allocations: 34.55 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.334, allocations: 0 / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000494/0.3345, allocations: 149.6 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3345, allocations: 59.34 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3347, allocations: 166.4 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3347, allocations: 25.7 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3349, allocations: 232 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3349, allocations: 27.75 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.335, allocations: 53.7 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3352, allocations: 330.7 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3353, allocations: 51.95 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.3355, allocations: 177.5 kB / 0.5705 GB, free: 10.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.3359, allocations: 240 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3359, allocations: 0 / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004717/0.3364, allocations: 253.4 kB / 0.571 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3364, allocations: 8 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3364, allocations: 4.562 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3364, allocations: 7.984 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.3368, allocations: 91.84 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3379, allocations: 1.778 MB / 0.5728 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3381, allocations: 35.77 kB / 0.5728 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3381, allocations: 12 kB / 0.5729 GB, free: 8.219 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002843/0.3384, allocations: 176.9 kB / 0.573 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3384, allocations: 15.84 kB / 0.573 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.3389, allocations: 206 kB / 0.5732 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.339, allocations: 4 kB / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.339, allocations: 0 / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.339, allocations: 0 / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3393, allocations: 260.6 kB / 0.5735 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3393, allocations: 0 / 0.5735 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3395, allocations: 59.97 kB / 0.5735 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3395, allocations: 4 kB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3396, allocations: 11.86 kB / 0.5736 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3407, allocations: 1.777 MB / 0.5753 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3407, allocations: 0 / 0.5753 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.341, allocations: 219.7 kB / 0.5755 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.341, allocations: 11.89 kB / 0.5755 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3411, allocations: 4 kB / 0.5755 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3412, allocations: 11.98 kB / 0.5755 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3412, allocations: 7.984 kB / 0.5755 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3412, allocations: 8 kB / 0.5755 GB, free: 5.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.3413, allocations: 115.9 kB / 0.5757 GB, free: 5.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 4 kB / 0.5757 GB, free: 5.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.3418, allocations: 99.61 kB / 0.5758 GB, free: 5.102 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.0008521/0.3426, allocations: 0.7902 MB / 0.5765 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.3432, allocations: 184.6 kB / 0.5767 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3432, allocations: 0 / 0.5767 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.3435, allocations: 87.94 kB / 0.5768 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3438, allocations: 21.91 kB / 0.5768 GB, free: 3.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.3466, allocations: 2.228 MB / 0.579 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.3471, allocations: 0.7982 MB / 0.5798 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3473, allocations: 69.12 kB / 0.5798 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3474, allocations: 71.42 kB / 0.5799 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3474, allocations: 0 / 0.5799 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.374, allocations: 5.468 MB / 0.5852 GB, free: 11.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.54, allocations: 15.55 kB / 0.5853 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.596751489967573] Failed to read output from testmodel.py, exit status != 0: ['time', 'A_cross', 'A_cross_nom', 'dp_nom', 'm_flow_nom', 'exp', 'NominalMassFlowRate', 'V_flow_nom', 'zeta_TOT', 'zeta_TOT_nom', 'rho_nom', '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.712109483021777 12.728936951 12.396406404 Calling exit ...