Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001428/0.001428, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.001434/0.001434, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.492/1.492, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.3372/0.3372, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002186/0.002186, allocations: 67.91 kB / 463 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2731, allocations: 60.99 MB / 0.5117 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002336/0.2755, allocations: 1.669 MB / 0.5133 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2767, allocations: 0.9224 MB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.2767, allocations: 0 / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.2769, allocations: 29.3 kB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2771, allocations: 60.94 kB / 0.5143 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2774, allocations: 129 kB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.2776, allocations: 138.4 kB / 0.5145 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.2776, allocations: 13.56 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.2777, allocations: 66.67 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.2778, allocations: 71.3 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2778, allocations: 4.562 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.2781, allocations: 209.8 kB / 0.5149 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.2781, allocations: 42.7 kB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.2782, allocations: 58.11 kB / 0.515 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2785, allocations: 239.2 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2785, allocations: 0 / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2785, allocations: 0 / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2785, allocations: 5.219 kB / 0.5152 GB, free: 10.52 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004887/0.279, allocations: 477.5 kB / 0.5157 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.279, allocations: 9.625 kB / 0.5157 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.344e-05/0.279, allocations: 4.312 kB / 0.5157 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.2791, allocations: 61.52 kB / 0.5157 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.2802, allocations: 112.8 kB / 0.5158 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2803, allocations: 226.2 kB / 0.5161 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2803, allocations: 9.875 kB / 0.5161 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.2804, allocations: 12.62 kB / 0.5161 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.281, allocations: 325.1 kB / 0.5164 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.281, allocations: 0 / 0.5164 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.281, allocations: 1.375 kB / 0.5164 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.281, allocations: 24.48 kB / 0.5164 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/0.2817, allocations: 324.2 kB / 0.5167 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2829, allocations: 0.8398 MB / 0.5175 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.2836, allocations: 205.3 kB / 0.5177 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.2839, allocations: 84.62 kB / 0.5178 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2839, allocations: 0 / 0.5178 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.284, allocations: 46.58 kB / 0.5179 GB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.284, allocations: 0 / 0.5179 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009556/0.2849, allocations: 289.2 kB / 0.5181 GB, free: 8.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.2849, allocations: 55.78 kB / 0.5182 GB, free: 8.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2851, allocations: 191.2 kB / 0.5184 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2851, allocations: 25.7 kB / 0.5184 GB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.2851, allocations: 143.8 kB / 0.5185 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2852, allocations: 39.62 kB / 0.5186 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.2852, allocations: 53.67 kB / 0.5186 GB, free: 7.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.2853, allocations: 326.8 kB / 0.5189 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.2855, allocations: 75.91 kB / 0.519 GB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.2858, allocations: 142.7 kB / 0.5192 GB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.2863, allocations: 222.6 kB / 0.5194 GB, free: 6.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2864, allocations: 0 / 0.5194 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006486/0.287, allocations: 277.3 kB / 0.5196 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.287, allocations: 7.938 kB / 0.5196 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.287, allocations: 8 kB / 0.5196 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2871, allocations: 0 / 0.5196 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.2875, allocations: 83.86 kB / 0.5197 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005191/0.288, allocations: 1.782 MB / 0.5215 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2882, allocations: 27.83 kB / 0.5215 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2883, allocations: 11.98 kB / 0.5215 GB, free: 4.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001062/0.2884, allocations: 145.8 kB / 0.5216 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.2884, allocations: 27.83 kB / 0.5217 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.2891, allocations: 266.7 kB / 0.5219 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2891, allocations: 4 kB / 0.5219 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2891, allocations: 0 / 0.5219 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2891, allocations: 7.984 kB / 0.5219 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2893, allocations: 249.5 kB / 0.5222 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2893, allocations: 3.938 kB / 0.5222 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.2897, allocations: 67.92 kB / 0.5222 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2897, allocations: 0 / 0.5222 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2897, allocations: 11.98 kB / 0.5223 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004361/0.2901, allocations: 1.785 MB / 0.524 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2901, allocations: 0 / 0.524 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.2907, allocations: 323.3 kB / 0.5243 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2908, allocations: 85.06 kB / 0.5244 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.2908, allocations: 0 / 0.5244 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.291, allocations: 11.98 kB / 0.5244 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.2911, allocations: 11.97 kB / 0.5244 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2911, allocations: 15.98 kB / 0.5244 GB, free: 1.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.492e-05/0.2912, allocations: 138 kB / 0.5246 GB, free: 1.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2912, allocations: 0 / 0.5246 GB, free: 1.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.2915, allocations: 67.83 kB / 0.5246 GB, free: 1.121 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 (10): * Single equations (assignments): 7 * 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.0008508/0.2924, allocations: 0.884 MB / 0.5255 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.2931, allocations: 231.6 kB / 0.5257 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2931, allocations: 0 / 0.5257 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.2936, allocations: 136.2 kB / 0.5258 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2939, allocations: 11.98 kB / 0.5258 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.2976, allocations: 2.347 MB / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.2979, allocations: 0.7397 MB / 0.5289 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.2981, allocations: 69.3 kB / 0.5289 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.2983, allocations: 55.38 kB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2983, allocations: 4 kB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.3204, allocations: 4.927 MB / 0.5338 GB, free: 7.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.5, allocations: 12 kB / 0.5338 GB, free: 7.531 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.519147947023157] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', '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.643140564032365 12.664163999 12.381776081 Calling exit ...