Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001408/0.001408, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.001444/0.001444, allocations: 200.6 kB / 20.79 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3268/0.3268, allocations: 44.22 MB / 327.3 MB, free: 6.75 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002222/0.002222, allocations: 67.91 kB / 462.9 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2873, allocations: 61 MB / 0.5117 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002896/0.2902, allocations: 1.81 MB / 0.5134 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2914, allocations: 0.8466 MB / 0.5143 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.2914, allocations: 5.344 kB / 0.5143 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.2917, allocations: 29.48 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.2919, allocations: 92.12 kB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2921, allocations: 63.77 kB / 0.5144 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.2923, allocations: 134.4 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2924, allocations: 13.84 kB / 0.5146 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2925, allocations: 62.77 kB / 0.5146 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2926, allocations: 93.69 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2926, allocations: 9.594 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2928, allocations: 68.89 kB / 0.5148 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.2928, allocations: 25.53 kB / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.2929, allocations: 38.61 kB / 0.5149 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2931, allocations: 143.8 kB / 0.515 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2931, allocations: 0 / 0.515 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2931, allocations: 0 / 0.515 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2931, allocations: 1.312 kB / 0.515 GB, free: 10.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004973/0.2936, allocations: 411.9 kB / 0.5154 GB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2937, allocations: 14.19 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.2937, allocations: 2.531 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.2937, allocations: 46.34 kB / 0.5155 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.294, allocations: 34.55 kB / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2942, allocations: 183 kB / 0.5157 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2942, allocations: 12.88 kB / 0.5157 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.2942, allocations: 14.56 kB / 0.5157 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.2946, allocations: 184.8 kB / 0.5159 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2946, allocations: 3.938 kB / 0.5159 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.2946, allocations: 13.28 kB / 0.5159 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.2946, allocations: 10.77 kB / 0.5159 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.2949, allocations: 131.6 kB / 0.516 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.2956, allocations: 0.6488 MB / 0.5167 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.296, allocations: 110.5 kB / 0.5168 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2961, allocations: 34.7 kB / 0.5168 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2961, allocations: 1.438 kB / 0.5168 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2961, allocations: 31.81 kB / 0.5168 GB, free: 9.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2961, allocations: 0 / 0.5168 GB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004327/0.2966, allocations: 143.2 kB / 0.517 GB, free: 8.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2966, allocations: 52.78 kB / 0.517 GB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.2967, allocations: 128.5 kB / 0.5171 GB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2967, allocations: 27.08 kB / 0.5172 GB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.2967, allocations: 121.7 kB / 0.5173 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.2967, allocations: 23.97 kB / 0.5173 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.2968, allocations: 31.33 kB / 0.5173 GB, free: 8.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.2968, allocations: 329.5 kB / 0.5176 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.297, allocations: 36.53 kB / 0.5177 GB, free: 8.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2971, allocations: 93.81 kB / 0.5178 GB, free: 8.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.2973, allocations: 146.4 kB / 0.5179 GB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2973, allocations: 1.375 kB / 0.5179 GB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003081/0.2976, allocations: 156.9 kB / 0.5181 GB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2977, allocations: 14.8 kB / 0.5181 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2977, allocations: 2.016 kB / 0.5181 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2977, allocations: 6.75 kB / 0.5181 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2979, allocations: 34.23 kB / 0.5181 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2979, allocations: 6.734 kB / 0.5181 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.298, allocations: 12.2 kB / 0.5181 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.298, allocations: 9.5 kB / 0.5181 GB, free: 7.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.2981, allocations: 133.9 kB / 0.5183 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.2981, allocations: 16.02 kB / 0.5183 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.2984, allocations: 131.3 kB / 0.5184 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2984, allocations: 1.375 kB / 0.5184 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2984, allocations: 0 / 0.5184 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2984, allocations: 1.375 kB / 0.5184 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2986, allocations: 209.7 kB / 0.5186 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2986, allocations: 0 / 0.5186 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2987, allocations: 27.7 kB / 0.5186 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2987, allocations: 4.938 kB / 0.5186 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2987, allocations: 1.375 kB / 0.5186 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2987, allocations: 0 / 0.5186 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2987, allocations: 1.656 kB / 0.5186 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.299, allocations: 207.7 kB / 0.5188 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.299, allocations: 85.11 kB / 0.5189 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.299, allocations: 3.938 kB / 0.5189 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.2991, allocations: 11.98 kB / 0.5189 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2992, allocations: 4 kB / 0.5189 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2992, allocations: 0 / 0.5189 GB, free: 7.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.2992, allocations: 95.27 kB / 0.519 GB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2992, allocations: 0 / 0.519 GB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.2995, allocations: 31.89 kB / 0.5191 GB, free: 6.984 MB / 382.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/0.2999, allocations: 0.7552 MB / 0.5198 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3002, allocations: 95.81 kB / 0.5199 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3002, allocations: 0 / 0.5199 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3003, allocations: 43.89 kB / 0.5199 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3006, allocations: 8 kB / 0.5199 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3021, allocations: 1.673 MB / 0.5216 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3022, allocations: 0.7157 MB / 0.5223 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.699e-05/0.3023, allocations: 24.52 kB / 0.5223 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.3024, allocations: 39.42 kB / 0.5223 GB, free: 3.453 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3024, allocations: 0 / 0.5223 GB, free: 3.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.3191, allocations: 2.368 MB / 0.5246 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.512, allocations: 8.062 kB / 0.5247 GB, free: 1.074 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.457939056039322] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 8.635980057006236 8.660269999 8.362209023 Calling exit ...