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.001226/0.001226, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001385/0.001385, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.349/1.349, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.2128/0.2128, allocations: 46.94 MB / 361.6 MB, free: 3.93 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.00223/0.00223, allocations: 79.86 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3001, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.0033/0.3034, allocations: 1.881 MB / 0.5633 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3051, allocations: 1.045 MB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3052, allocations: 4 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.3055, allocations: 65.44 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3057, allocations: 71.53 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.3061, allocations: 163.3 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.3064, allocations: 262.4 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.3064, allocations: 12.94 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3066, allocations: 111.4 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3068, allocations: 123.3 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3068, allocations: 8 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.3072, allocations: 231.6 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.3073, allocations: 51.7 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3074, allocations: 95.48 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.3079, allocations: 414.2 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3079, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3079, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3079, allocations: 4 kB / 0.5659 GB, free: 15.52 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.00071/0.3087, allocations: 0.4978 MB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3087, allocations: 8.031 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.519e-05/0.3087, allocations: 9.188 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.408e-05/0.3088, allocations: 86.7 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.3088, allocations: 40.69 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3091, allocations: 174 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3091, allocations: 25 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.3092, allocations: 32 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.3099, allocations: 0.4896 MB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3099, allocations: 0 / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3099, allocations: 8 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.31, allocations: 32.98 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.3106, allocations: 431.7 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.312, allocations: 0.9638 MB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3122, allocations: 82.41 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3123, allocations: 40.83 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3124, allocations: 7.984 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3124, allocations: 34.5 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3124, allocations: 4 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004535/0.3129, allocations: 153.7 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.3129, allocations: 63.28 kB / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3131, allocations: 162.4 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3131, allocations: 29.7 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3132, allocations: 219.9 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3133, allocations: 31.73 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.3133, allocations: 53.7 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3135, allocations: 322.8 kB / 0.5697 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3136, allocations: 55.94 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3138, allocations: 172.2 kB / 0.5699 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.3142, allocations: 248 kB / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3142, allocations: 0 / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004592/0.3147, allocations: 257.5 kB / 0.5704 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3147, allocations: 6.344 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3147, allocations: 4 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3147, allocations: 8 kB / 0.5704 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.3151, allocations: 87.84 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3161, allocations: 1.778 MB / 0.5723 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3163, allocations: 35.86 kB / 0.5723 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3163, allocations: 16 kB / 0.5723 GB, free: 8.508 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.0002293/0.3165, allocations: 180.5 kB / 0.5725 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3166, allocations: 11.91 kB / 0.5725 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.3171, allocations: 194 kB / 0.5727 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3171, allocations: 4 kB / 0.5727 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3171, allocations: 0 / 0.5727 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3171, allocations: 0 / 0.5727 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.3174, allocations: 260.6 kB / 0.5729 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3174, allocations: 4 kB / 0.5729 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.3176, allocations: 59.97 kB / 0.573 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3176, allocations: 3.938 kB / 0.573 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3176, allocations: 11.94 kB / 0.573 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3187, allocations: 1.77 MB / 0.5747 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3187, allocations: 0 / 0.5747 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.319, allocations: 220.2 kB / 0.575 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.319, allocations: 11.83 kB / 0.575 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.319, allocations: 7.984 kB / 0.575 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.3191, allocations: 8 kB / 0.575 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3192, allocations: 11.98 kB / 0.575 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3192, allocations: 4 kB / 0.575 GB, free: 5.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.3193, allocations: 115.9 kB / 0.5751 GB, free: 5.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3193, allocations: 0 / 0.5751 GB, free: 5.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.3197, allocations: 103.6 kB / 0.5752 GB, free: 5.406 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.000783/0.3204, allocations: 0.8059 MB / 0.576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.321, allocations: 175.7 kB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.321, allocations: 1.125 kB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.3213, allocations: 87.89 kB / 0.5762 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3215, allocations: 19.92 kB / 0.5763 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.3241, allocations: 2.217 MB / 0.5784 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3243, allocations: 189.3 kB / 0.5786 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.3244, allocations: 65.19 kB / 0.5787 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3245, allocations: 75.41 kB / 0.5787 GB, free: 1.547 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3245, allocations: 0 / 0.5787 GB, free: 1.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3495, allocations: 5.526 MB / 0.5841 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/12.98, allocations: 22.83 kB / 0.5842 GB, free: 12.17 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.899932175991125] 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'] 13.152092085918412 13.166808045 12.855972246 Calling exit ...